Fill correct file name to OpDebugFunction and add line info for parameters' OpDebugDeclare

This commit is contained in:
Qingyuan Zheng 2024-07-02 06:31:18 +00:00 committed by arcady-lunarg
parent 8a5086efb0
commit 85262fb20e
14 changed files with 2877 additions and 2873 deletions

View file

@ -29,10 +29,10 @@ spv.debuginfo.hlsl.geom
"
31: String "Color"
36: String "VSOutput"
49: String "PrimitiveID"
54: String "LightVec"
60: String "GSOutput"
73: String "@main"
50: String "PrimitiveID"
55: String "LightVec"
61: String "GSOutput"
74: String "@main"
77: String "input"
83: String "outStream"
87: String "InvocationID"
@ -60,19 +60,19 @@ spv.debuginfo.hlsl.geom
MemberName 23(VSOutput) 0 "Pos"
MemberName 23(VSOutput) 1 "Normal"
MemberName 23(VSOutput) 2 "Color"
Name 45 "GSOutput"
MemberName 45(GSOutput) 0 "Pos"
MemberName 45(GSOutput) 1 "ViewportIndex"
MemberName 45(GSOutput) 2 "PrimitiveID"
MemberName 45(GSOutput) 3 "Normal"
MemberName 45(GSOutput) 4 "Color"
MemberName 45(GSOutput) 5 "ViewVec"
MemberName 45(GSOutput) 6 "LightVec"
Name 71 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 67 "input"
Name 68 "outStream"
Name 69 "InvocationID"
Name 70 "PrimitiveID"
Name 46 "GSOutput"
MemberName 46(GSOutput) 0 "Pos"
MemberName 46(GSOutput) 1 "ViewportIndex"
MemberName 46(GSOutput) 2 "PrimitiveID"
MemberName 46(GSOutput) 3 "Normal"
MemberName 46(GSOutput) 4 "Color"
MemberName 46(GSOutput) 5 "ViewVec"
MemberName 46(GSOutput) 6 "LightVec"
Name 72 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 68 "input"
Name 69 "outStream"
Name 70 "InvocationID"
Name 71 "PrimitiveID"
Name 97 "i"
Name 119 "output"
Name 145 "UBO"
@ -155,61 +155,61 @@ spv.debuginfo.hlsl.geom
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
37: 11(int) Constant 1
39: 11(int) Constant 5
38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34
40: TypeArray 23(VSOutput) 17
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
42: TypePointer Function 40
43: 11(int) Constant 7
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16
45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
47: 11(int) Constant 44
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17
50: 11(int) Constant 46
51: 11(int) Constant 19
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
55: 11(int) Constant 50
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58
61: TypePointer Function 45(GSOutput)
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
63: TypePointer Function 11(int)
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr)
66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
75: 11(int) Constant 56
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 41 26 75 16 74 19 37
38: 11(int) Constant 56
40: 11(int) Constant 5
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 40
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 38 16 39 36 16 17 24 30 34
41: TypeArray 23(VSOutput) 17
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
43: TypePointer Function 41
44: 11(int) Constant 7
45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 42 44 16
46(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
48: 11(int) Constant 44
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 48 29 16 16 17
51: 11(int) Constant 46
52: 11(int) Constant 19
49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 50 13 26 51 52 16 16 17
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 50 13 26 51 52 16 16 17
56: 11(int) Constant 50
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 61 37 26 38 16 39 61 16 17 47 49 53 54 57 58 59
62: TypePointer Function 46(GSOutput)
63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 44 16
64: TypePointer Function 11(int)
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 44 16
66: TypeFunction 4 43(ptr) 62(ptr) 64(ptr) 64(ptr)
67: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 42 60 13 13
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 74 67 26 38 16 39 74 17 38
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 42 26 38 16 75 19 37
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
84: 11(int) Constant 2
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 60 26 38 16 75 19 84
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 38 16 75 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 13 26 38 16 75 19 19
92: TypeInt 32 1
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 14 19 16
95: TypePointer Function 92(int)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 43 16
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 44 16
100: 11(int) Constant 57
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 94 26 100 16 74 19
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 94 26 100 16 75 19
103: 92(int) Constant 0
114: 92(int) Constant 3
115: TypeBool
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 14 84 16
122: 11(int) Constant 59
120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 59 26 122 16 74 19
120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 60 26 122 16 75 19
126: 8(float) Constant 0
127: 18(fvec4) ConstantComposite 126 126 126 126
128: 21(fvec3) ConstantComposite 126 126 126
129:45(GSOutput) ConstantComposite 127 16 16 128 128 128 128
129:46(GSOutput) ConstantComposite 127 16 16 128 128 128 128
132: 11(int) Constant 60
133: 92(int) Constant 1
134: TypePointer Function 21(fvec3)
135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16
135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 44 16
138: TypeMatrix 18(fvec4) 4
140: 115(bool) ConstantTrue
139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 140
@ -227,16 +227,16 @@ spv.debuginfo.hlsl.geom
156: 11(int) Constant 30
157: 11(int) Constant 17
154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 20 26 156 157 16 16 17
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 132 16 38 159 16 17 146 150 154
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 132 16 39 159 16 17 146 150 154
160(ubo): TypeStruct 145(UBO)
163: 11(int) Constant 33
161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 158 26 163 28 16 16 17
164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 37 26 132 16 38 162 16 17 161
164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 37 26 132 16 39 162 16 17 161
165: TypePointer Uniform 160(ubo)
166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 84 16
167: 165(ptr) Variable Uniform
169: 11(int) Constant 8
168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 164 26 132 16 38 2 167 169
168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 164 26 132 16 39 2 167 169
171: TypePointer Uniform 138
172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 84 16
175: TypeMatrix 21(fvec3) 3
@ -245,13 +245,13 @@ spv.debuginfo.hlsl.geom
189: 11(int) Constant 61
190: 92(int) Constant 2
194: TypePointer Function 18(fvec4)
195: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16
195: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 44 16
199: 11(int) Constant 63
197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 198 20 26 199 16 74 19
197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 198 20 26 199 16 75 19
208: 11(int) Constant 64
206: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 20 26 208 16 74 19
206: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 20 26 208 16 75 19
219: 11(int) Constant 66
217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 22 26 219 16 74 19
217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 22 26 219 16 75 19
222: TypePointer Uniform 18(fvec4)
223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
231: 92(int) Constant 6
@ -265,23 +265,23 @@ spv.debuginfo.hlsl.geom
263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
264(outStream.Pos): 262(ptr) Variable Output
267: 11(int) Constant 75
265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 20 26 267 16 38 266 264(outStream.Pos) 169
265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 20 26 267 16 39 266 264(outStream.Pos) 169
271: TypePointer Output 11(int)
272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
273(outStream.ViewportIndex): 271(ptr) Variable Output
274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 13 26 267 16 38 275 273(outStream.ViewportIndex) 169
274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 13 26 267 16 39 275 273(outStream.ViewportIndex) 169
278(outStream.PrimitiveID): 271(ptr) Variable Output
279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 13 26 267 16 38 280 278(outStream.PrimitiveID) 169
279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 13 26 267 16 39 280 278(outStream.PrimitiveID) 169
283: TypePointer Output 21(fvec3)
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
285(outStream.Normal): 283(ptr) Variable Output
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 22 26 267 16 38 287 285(outStream.Normal) 169
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 22 26 267 16 39 287 285(outStream.Normal) 169
290(outStream.Color): 283(ptr) Variable Output
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 22 26 267 16 38 292 290(outStream.Color) 169
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 22 26 267 16 39 292 290(outStream.Color) 169
295(outStream.ViewVec): 283(ptr) Variable Output
296: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 22 26 267 16 38 297 295(outStream.ViewVec) 169
296: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 22 26 267 16 39 297 295(outStream.ViewVec) 169
300(outStream.LightVec): 283(ptr) Variable Output
301: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 302 22 26 267 16 38 302 300(outStream.LightVec) 169
301: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 302 22 26 267 16 39 302 300(outStream.LightVec) 169
311: 11(int) Constant 78
313: TypeArray 18(fvec4) 17
314: TypePointer Input 313
@ -297,14 +297,14 @@ spv.debuginfo.hlsl.geom
354(PrimitiveID): 350(ptr) Variable Input
6(main): 4 Function None 5
7: Label
312(input): 42(ptr) Variable Function
349(InvocationID): 63(ptr) Variable Function
353(PrimitiveID): 63(ptr) Variable Function
356(outStream): 61(ptr) Variable Function
357(param): 42(ptr) Variable Function
359(param): 61(ptr) Variable Function
360(param): 63(ptr) Variable Function
362(param): 63(ptr) Variable Function
312(input): 43(ptr) Variable Function
349(InvocationID): 64(ptr) Variable Function
353(PrimitiveID): 64(ptr) Variable Function
356(outStream): 62(ptr) Variable Function
357(param): 43(ptr) Variable Function
359(param): 62(ptr) Variable Function
360(param): 64(ptr) Variable Function
362(param): 64(ptr) Variable Function
317: 316(ptr) AccessChain 315(input.Pos) 103
318: 18(fvec4) Load 317
319: 194(ptr) AccessChain 312(input) 103 103
@ -345,60 +345,60 @@ spv.debuginfo.hlsl.geom
Store 349(InvocationID) 352
355: 11(int) Load 354(PrimitiveID)
Store 353(PrimitiveID) 355
358: 40 Load 312(input)
358: 41 Load 312(input)
Store 357(param) 358
361: 11(int) Load 349(InvocationID)
Store 360(param) 361
363: 11(int) Load 353(PrimitiveID)
Store 362(param) 363
364: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 357(param) 359(param) 360(param) 362(param)
365:45(GSOutput) Load 359(param)
364: 4 FunctionCall 72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 357(param) 359(param) 360(param) 362(param)
365:46(GSOutput) Load 359(param)
Store 356(outStream) 365
Return
FunctionEnd
71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65
67(input): 42(ptr) FunctionParameter
68(outStream): 61(ptr) FunctionParameter
69(InvocationID): 63(ptr) FunctionParameter
70(PrimitiveID): 63(ptr) FunctionParameter
72: Label
72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 66
68(input): 43(ptr) FunctionParameter
69(outStream): 62(ptr) FunctionParameter
70(InvocationID): 64(ptr) FunctionParameter
71(PrimitiveID): 64(ptr) FunctionParameter
73: Label
97(i): 95(ptr) Variable Function
119(output): 61(ptr) Variable Function
119(output): 62(ptr) Variable Function
196(pos): 194(ptr) Variable Function
205(worldPos): 194(ptr) Variable Function
216(lPos): 134(ptr) Variable Function
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 67(input) 79
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 79
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 79
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 79
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 38 38 16 16
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 68(input) 79
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 69(outStream) 79
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 70(InvocationID) 79
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 71(PrimitiveID) 79
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 75 72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 97(i) 79
Store 97(i) 103
Branch 104
104: Label
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
LoopMerge 106 107 None
Branch 110
110: Label
112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
111: 92(int) Load 97(i)
118: 115(bool) SLessThan 111 114
BranchConditional 118 105 106
105: Label
124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 79
Store 119(output) 129
131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
130: 92(int) Load 97(i)
136: 134(ptr) AccessChain 67(input) 130 133
136: 134(ptr) AccessChain 68(input) 130 133
137: 21(fvec3) Load 136
170: 11(int) Load 69(InvocationID)
170: 11(int) Load 70(InvocationID)
173: 171(ptr) AccessChain 167 103 133 170
174: 138 Load 173
177: 18(fvec4) CompositeExtract 174 0
@ -413,20 +413,20 @@ spv.debuginfo.hlsl.geom
Store 185 184
188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 189 189 16 16
187: 92(int) Load 97(i)
191: 134(ptr) AccessChain 67(input) 187 190
191: 134(ptr) AccessChain 68(input) 187 190
192: 21(fvec3) Load 191
193: 134(ptr) AccessChain 119(output) 186
Store 193 192
201: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 199 199 16 16
200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 197 196(pos) 79
202: 92(int) Load 97(i)
203: 194(ptr) AccessChain 67(input) 202 103
203: 194(ptr) AccessChain 68(input) 202 103
204: 18(fvec4) Load 203
Store 196(pos) 204
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16
209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(worldPos) 79
211: 18(fvec4) Load 196(pos)
212: 11(int) Load 69(InvocationID)
212: 11(int) Load 70(InvocationID)
213: 171(ptr) AccessChain 167 103 133 212
214: 138 Load 213
215: 18(fvec4) VectorTimesMatrix 211 214
@ -435,7 +435,7 @@ spv.debuginfo.hlsl.geom
220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(lPos) 79
224: 222(ptr) AccessChain 167 103 190
225: 18(fvec4) Load 224
226: 11(int) Load 69(InvocationID)
226: 11(int) Load 70(InvocationID)
227: 171(ptr) AccessChain 167 103 133 226
228: 138 Load 227
229: 18(fvec4) VectorTimesMatrix 225 228
@ -456,28 +456,28 @@ spv.debuginfo.hlsl.geom
Store 245 244
247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
246: 18(fvec4) Load 205(worldPos)
249: 11(int) Load 69(InvocationID)
249: 11(int) Load 70(InvocationID)
250: 171(ptr) AccessChain 167 103 103 249
251: 138 Load 250
252: 18(fvec4) VectorTimesMatrix 246 251
253: 194(ptr) AccessChain 119(output) 103
Store 253 252
255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
254: 11(int) Load 69(InvocationID)
257: 63(ptr) AccessChain 119(output) 133
254: 11(int) Load 70(InvocationID)
257: 64(ptr) AccessChain 119(output) 133
Store 257 254
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
258: 11(int) Load 70(PrimitiveID)
261: 63(ptr) AccessChain 119(output) 190
258: 11(int) Load 71(PrimitiveID)
261: 64(ptr) AccessChain 119(output) 190
Store 261 258
269: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 267 267 16 16
268: 194(ptr) AccessChain 119(output) 103
270: 18(fvec4) Load 268
Store 264(outStream.Pos) 270
276: 63(ptr) AccessChain 119(output) 133
276: 64(ptr) AccessChain 119(output) 133
277: 11(int) Load 276
Store 273(outStream.ViewportIndex) 277
281: 63(ptr) AccessChain 119(output) 190
281: 64(ptr) AccessChain 119(output) 190
282: 11(int) Load 281
Store 278(outStream.PrimitiveID) 282
288: 134(ptr) AccessChain 119(output) 114
@ -495,14 +495,14 @@ spv.debuginfo.hlsl.geom
EmitVertex
Branch 107
107: Label
306: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
306: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
307: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
305: 92(int) Load 97(i)
308: 92(int) IAdd 305 133
Store 97(i) 308
Branch 104
106: Label
309: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
309: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 311 311 16 16
EndPrimitive
Return