Use line and column from node on DebugLexicalBlock.

* Fix bug in TestFixture.h, debug info gets enabled when nonsemantic debug info is requested.
This commit is contained in:
Sajjad Mirza 2024-10-04 11:11:27 -07:00 committed by GitHub
parent 48f63fe4b3
commit f69d2768e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 7746 additions and 6750 deletions

View file

@ -3,7 +3,10 @@ Shader version: 500
0:? Sequence
0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Pos})
0:11 Function Parameters:
0:? Sequence
0:? Scope
0:12 Sequence
0:12 Declare ( temp void)
0:12 'vsout' ( temp structure{ temp 4-component vector of float Pos})
0:14 Sequence
0:14 move second child to first child ( temp 4-component vector of float)
0:14 'PosOut' ( temp 4-component vector of float)
@ -82,7 +85,10 @@ Shader version: 500
0:? Sequence
0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Pos})
0:11 Function Parameters:
0:? Sequence
0:? Scope
0:12 Sequence
0:12 Declare ( temp void)
0:12 'vsout' ( temp structure{ temp 4-component vector of float Pos})
0:14 Sequence
0:14 move second child to first child ( temp 4-component vector of float)
0:14 'PosOut' ( temp 4-component vector of float)
@ -175,15 +181,15 @@ Shader version: 500
Name 9 "VS_OUTPUT"
MemberName 9(VS_OUTPUT) 0 "Pos"
Name 11 "@main("
Name 14 "PosOut"
Name 20 "g_sam"
Name 36 "g_sam2D"
Name 49 "vsout"
Name 14 "vsout"
Name 16 "PosOut"
Name 22 "g_sam"
Name 38 "g_sam2D"
Name 61 "@entryPointOutput.Pos"
Decorate 20(g_sam) Binding 0
Decorate 20(g_sam) DescriptorSet 0
Decorate 36(g_sam2D) Binding 1
Decorate 36(g_sam2D) DescriptorSet 0
Decorate 22(g_sam) Binding 0
Decorate 22(g_sam) DescriptorSet 0
Decorate 38(g_sam2D) Binding 1
Decorate 38(g_sam2D) DescriptorSet 0
Decorate 61(@entryPointOutput.Pos) BuiltIn Position
3: TypeVoid
4: TypeFunction 3
@ -191,25 +197,25 @@ Shader version: 500
8: TypeVector 7(float) 4
9(VS_OUTPUT): TypeStruct 8(fvec4)
10: TypeFunction 9(VS_OUTPUT)
13: TypePointer Function 8(fvec4)
15: 7(float) Constant 0
16: 8(fvec4) ConstantComposite 15 15 15 15
17: TypeImage 7(float) 2D sampled format:Unknown
18: TypeSampledImage 17
19: TypePointer UniformConstant 18
20(g_sam): 19(ptr) Variable UniformConstant
22: 7(float) Constant 1050253722
23: 7(float) Constant 1053609165
24: 7(float) Constant 1065353216
25: 8(fvec4) ConstantComposite 22 23 15 24
26: TypeVector 7(float) 2
30: TypeInt 32 0
31: 30(int) Constant 3
36(g_sam2D): 19(ptr) Variable UniformConstant
38: 7(float) Constant 1056964608
39: 7(float) Constant 1058642330
40: 8(fvec4) ConstantComposite 38 39 15 24
48: TypePointer Function 9(VS_OUTPUT)
13: TypePointer Function 9(VS_OUTPUT)
15: TypePointer Function 8(fvec4)
17: 7(float) Constant 0
18: 8(fvec4) ConstantComposite 17 17 17 17
19: TypeImage 7(float) 2D sampled format:Unknown
20: TypeSampledImage 19
21: TypePointer UniformConstant 20
22(g_sam): 21(ptr) Variable UniformConstant
24: 7(float) Constant 1050253722
25: 7(float) Constant 1053609165
26: 7(float) Constant 1065353216
27: 8(fvec4) ConstantComposite 24 25 17 26
28: TypeVector 7(float) 2
32: TypeInt 32 0
33: 32(int) Constant 3
38(g_sam2D): 21(ptr) Variable UniformConstant
40: 7(float) Constant 1056964608
41: 7(float) Constant 1058642330
42: 8(fvec4) ConstantComposite 40 41 17 26
50: TypeInt 32 1
51: 50(int) Constant 0
53: 7(float) Constant 1073741824
@ -227,37 +233,37 @@ Shader version: 500
Line 1 11 1
11(@main():9(VS_OUTPUT) Function None 10
12: Label
14(PosOut): 13(ptr) Variable Function
49(vsout): 48(ptr) Variable Function
14(vsout): 13(ptr) Variable Function
16(PosOut): 15(ptr) Variable Function
Line 1 14 0
Store 14(PosOut) 16
Store 16(PosOut) 18
Line 1 16 0
21: 18 Load 20(g_sam)
27: 7(float) CompositeExtract 25 0
28: 7(float) CompositeExtract 25 1
29: 26(fvec2) CompositeConstruct 27 28
32: 7(float) CompositeExtract 25 3
33: 8(fvec4) ImageSampleExplicitLod 21 29 Lod 32
34: 8(fvec4) Load 14(PosOut)
35: 8(fvec4) FAdd 34 33
Store 14(PosOut) 35
23: 20 Load 22(g_sam)
29: 7(float) CompositeExtract 27 0
30: 7(float) CompositeExtract 27 1
31: 28(fvec2) CompositeConstruct 29 30
34: 7(float) CompositeExtract 27 3
35: 8(fvec4) ImageSampleExplicitLod 23 31 Lod 34
36: 8(fvec4) Load 16(PosOut)
37: 8(fvec4) FAdd 36 35
Store 16(PosOut) 37
Line 1 17 0
37: 18 Load 36(g_sam2D)
41: 7(float) CompositeExtract 40 0
42: 7(float) CompositeExtract 40 1
43: 26(fvec2) CompositeConstruct 41 42
44: 7(float) CompositeExtract 40 3
45: 8(fvec4) ImageSampleExplicitLod 37 43 Lod 44
46: 8(fvec4) Load 14(PosOut)
47: 8(fvec4) FAdd 46 45
Store 14(PosOut) 47
39: 20 Load 38(g_sam2D)
43: 7(float) CompositeExtract 42 0
44: 7(float) CompositeExtract 42 1
45: 28(fvec2) CompositeConstruct 43 44
46: 7(float) CompositeExtract 42 3
47: 8(fvec4) ImageSampleExplicitLod 39 45 Lod 46
48: 8(fvec4) Load 16(PosOut)
49: 8(fvec4) FAdd 48 47
Store 16(PosOut) 49
Line 1 19 0
52: 8(fvec4) Load 14(PosOut)
52: 8(fvec4) Load 16(PosOut)
54: 8(fvec4) CompositeConstruct 53 53 53 53
55: 8(fvec4) FDiv 52 54
56: 13(ptr) AccessChain 49(vsout) 51
56: 15(ptr) AccessChain 14(vsout) 51
Store 56 55
Line 1 21 0
57:9(VS_OUTPUT) Load 49(vsout)
57:9(VS_OUTPUT) Load 14(vsout)
ReturnValue 57
FunctionEnd