Emit DebugTypePointer when non-semantic debug info is enabled

This commit is contained in:
Sajjad Mirza 2023-12-28 08:00:37 -08:00 committed by GitHub
parent 89824a83b7
commit e17ecb0e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 9174 additions and 8925 deletions

View file

@ -1,7 +1,7 @@
spv.debuginfo.hlsl.geom
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 354
// Id's are bound by 367
Capability Geometry
Capability MultiViewport
@ -9,7 +9,7 @@ spv.debuginfo.hlsl.geom
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 6 "main" 256 262 267 273 278 283 288 303 310 315 339 342
EntryPoint Geometry 6 "main" 267 274 279 286 291 296 301 316 323 328 352 355
ExecutionMode 6 Triangles
ExecutionMode 6 Invocations 2
ExecutionMode 6 OutputTriangleStrip
@ -29,107 +29,107 @@ spv.debuginfo.hlsl.geom
"
31: String "Color"
36: String "VSOutput"
47: String "PrimitiveID"
52: String "LightVec"
58: String "GSOutput"
69: String "@main"
75: String "input"
79: String "outStream"
83: String "InvocationID"
92: String "int"
97: String "i"
112: String "bool"
120: String "output"
142: String "projection"
146: String "modelview"
150: String "lightPos"
154: String "UBO"
157: String "ubo"
192: String "pos"
201: String "worldPos"
212: String "lPos"
258: String "outStream.Pos"
264: String "outStream.ViewportIndex"
269: String "outStream.PrimitiveID"
275: String "outStream.Normal"
280: String "outStream.Color"
285: String "outStream.ViewVec"
290: String "outStream.LightVec"
49: String "PrimitiveID"
54: String "LightVec"
60: String "GSOutput"
73: String "@main"
79: String "input"
83: String "outStream"
87: String "InvocationID"
96: String "int"
102: String "i"
117: String "bool"
125: String "output"
148: String "projection"
152: String "modelview"
156: String "lightPos"
160: String "UBO"
163: String "ubo"
201: String "pos"
210: String "worldPos"
221: String "lPos"
269: String "outStream.Pos"
276: String "outStream.ViewportIndex"
281: String "outStream.PrimitiveID"
288: String "outStream.Normal"
293: String "outStream.Color"
298: String "outStream.ViewVec"
303: String "outStream.LightVec"
Name 6 "main"
Name 23 "VSOutput"
MemberName 23(VSOutput) 0 "Pos"
MemberName 23(VSOutput) 1 "Normal"
MemberName 23(VSOutput) 2 "Color"
Name 43 "GSOutput"
MemberName 43(GSOutput) 0 "Pos"
MemberName 43(GSOutput) 1 "ViewportIndex"
MemberName 43(GSOutput) 2 "PrimitiveID"
MemberName 43(GSOutput) 3 "Normal"
MemberName 43(GSOutput) 4 "Color"
MemberName 43(GSOutput) 5 "ViewVec"
MemberName 43(GSOutput) 6 "LightVec"
Name 67 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 63 "input"
Name 64 "outStream"
Name 65 "InvocationID"
Name 66 "PrimitiveID"
Name 95 "i"
Name 118 "output"
Name 140 "UBO"
MemberName 140(UBO) 0 "projection"
MemberName 140(UBO) 1 "modelview"
MemberName 140(UBO) 2 "lightPos"
Name 155 "ubo"
MemberName 155(ubo) 0 "ubo"
Name 161 ""
Name 190 "pos"
Name 199 "worldPos"
Name 210 "lPos"
Name 256 "outStream.Pos"
Name 262 "outStream.ViewportIndex"
Name 267 "outStream.PrimitiveID"
Name 273 "outStream.Normal"
Name 278 "outStream.Color"
Name 283 "outStream.ViewVec"
Name 288 "outStream.LightVec"
Name 300 "input"
Name 303 "input.Pos"
Name 310 "input.Normal"
Name 315 "input.Color"
Name 337 "InvocationID"
Name 339 "InvocationID"
Name 341 "PrimitiveID"
Name 342 "PrimitiveID"
Name 344 "outStream"
Name 345 "param"
Name 347 "param"
Name 348 "param"
Name 350 "param"
Decorate 136 ArrayStride 64
Decorate 138 ArrayStride 64
MemberDecorate 140(UBO) 0 RowMajor
MemberDecorate 140(UBO) 0 Offset 0
MemberDecorate 140(UBO) 0 MatrixStride 16
MemberDecorate 140(UBO) 1 RowMajor
MemberDecorate 140(UBO) 1 Offset 128
MemberDecorate 140(UBO) 1 MatrixStride 16
MemberDecorate 140(UBO) 2 Offset 256
MemberDecorate 155(ubo) 0 Offset 0
Decorate 155(ubo) Block
Decorate 161 DescriptorSet 0
Decorate 161 Binding 0
Decorate 256(outStream.Pos) BuiltIn Position
Decorate 262(outStream.ViewportIndex) BuiltIn ViewportIndex
Decorate 267(outStream.PrimitiveID) BuiltIn PrimitiveId
Decorate 273(outStream.Normal) Location 0
Decorate 278(outStream.Color) Location 1
Decorate 283(outStream.ViewVec) Location 2
Decorate 288(outStream.LightVec) Location 3
Decorate 303(input.Pos) BuiltIn Position
Decorate 310(input.Normal) Location 0
Decorate 315(input.Color) Location 1
Decorate 339(InvocationID) BuiltIn InvocationId
Decorate 342(PrimitiveID) BuiltIn PrimitiveId
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 100 "i"
Name 123 "output"
Name 146 "UBO"
MemberName 146(UBO) 0 "projection"
MemberName 146(UBO) 1 "modelview"
MemberName 146(UBO) 2 "lightPos"
Name 161 "ubo"
MemberName 161(ubo) 0 "ubo"
Name 168 ""
Name 199 "pos"
Name 208 "worldPos"
Name 219 "lPos"
Name 267 "outStream.Pos"
Name 274 "outStream.ViewportIndex"
Name 279 "outStream.PrimitiveID"
Name 286 "outStream.Normal"
Name 291 "outStream.Color"
Name 296 "outStream.ViewVec"
Name 301 "outStream.LightVec"
Name 313 "input"
Name 316 "input.Pos"
Name 323 "input.Normal"
Name 328 "input.Color"
Name 350 "InvocationID"
Name 352 "InvocationID"
Name 354 "PrimitiveID"
Name 355 "PrimitiveID"
Name 357 "outStream"
Name 358 "param"
Name 360 "param"
Name 361 "param"
Name 363 "param"
Decorate 142 ArrayStride 64
Decorate 144 ArrayStride 64
MemberDecorate 146(UBO) 0 RowMajor
MemberDecorate 146(UBO) 0 Offset 0
MemberDecorate 146(UBO) 0 MatrixStride 16
MemberDecorate 146(UBO) 1 RowMajor
MemberDecorate 146(UBO) 1 Offset 128
MemberDecorate 146(UBO) 1 MatrixStride 16
MemberDecorate 146(UBO) 2 Offset 256
MemberDecorate 161(ubo) 0 Offset 0
Decorate 161(ubo) Block
Decorate 168 DescriptorSet 0
Decorate 168 Binding 0
Decorate 267(outStream.Pos) BuiltIn Position
Decorate 274(outStream.ViewportIndex) BuiltIn ViewportIndex
Decorate 279(outStream.PrimitiveID) BuiltIn PrimitiveId
Decorate 286(outStream.Normal) Location 0
Decorate 291(outStream.Color) Location 1
Decorate 296(outStream.ViewVec) Location 2
Decorate 301(outStream.LightVec) Location 3
Decorate 316(input.Pos) BuiltIn Position
Decorate 323(input.Normal) Location 0
Decorate 328(input.Color) Location 1
Decorate 352(InvocationID) BuiltIn InvocationId
Decorate 355(PrimitiveID) BuiltIn PrimitiveId
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@ -161,340 +161,353 @@ spv.debuginfo.hlsl.geom
40: TypeArray 23(VSOutput) 17
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
42: TypePointer Function 40
43(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
45: 11(int) Constant 44
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 45 29 16 16 17
48: 11(int) Constant 46
49: 11(int) Constant 19
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17
53: 11(int) Constant 50
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 58 37 26 16 16 38 58 16 17 44 46 50 51 54 55 56
59: TypePointer Function 43(GSOutput)
60: TypePointer Function 11(int)
61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr)
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 13 13
71: 11(int) Constant 56
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 69 62 26 71 16 38 69 17 71
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 75 41 26 71 16 70 19 37
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
80: 11(int) Constant 2
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 57 26 71 16 70 19 80
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 13 26 71 16 70 19 17
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 71 16 70 19 19
90: 11(int) Constant 57
91: TypeInt 32 1
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 92 14 19 16
94: TypePointer Function 91(int)
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 97 93 26 90 16 70 19
99: 91(int) Constant 0
110: 91(int) Constant 3
111: TypeBool
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16
117: 11(int) Constant 59
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 26 117 16 70 19
122: 8(float) Constant 0
123: 18(fvec4) ConstantComposite 122 122 122 122
124: 21(fvec3) ConstantComposite 122 122 122
125:43(GSOutput) ConstantComposite 123 16 16 124 124 124 124
127: 11(int) Constant 60
129: 91(int) Constant 1
130: TypePointer Function 21(fvec3)
133: TypeMatrix 18(fvec4) 4
135: 111(bool) ConstantTrue
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 135
136: TypeArray 133 80
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80
138: TypeArray 133 80
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80
140(UBO): TypeStruct 136 138 18(fvec4)
143: 11(int) Constant 28
144: 11(int) Constant 21
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 137 26 143 144 16 16 17
147: 11(int) Constant 29
148: 11(int) Constant 20
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 26 147 148 16 16 17
151: 11(int) Constant 30
152: 11(int) Constant 17
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 20 26 151 152 16 16 17
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 37 26 127 16 38 154 16 17 141 145 149
155(ubo): TypeStruct 140(UBO)
158: 11(int) Constant 33
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 157 153 26 158 28 16 16 17
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 37 26 127 16 38 157 16 17 156
160: TypePointer Uniform 155(ubo)
161: 160(ptr) Variable Uniform
163: 11(int) Constant 8
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 159 26 127 16 38 1 161 163
165: TypePointer Uniform 133
168: TypeMatrix 21(fvec3) 3
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 135
180: 11(int) Constant 61
181: 91(int) Constant 4
183: 91(int) Constant 2
188: 11(int) Constant 63
189: TypePointer Function 18(fvec4)
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 20 26 188 16 70 19
198: 11(int) Constant 64
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 198 16 70 19
209: 11(int) Constant 66
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 22 26 209 16 70 19
214: TypePointer Uniform 18(fvec4)
223: 11(int) Constant 67
224: 91(int) Constant 6
231: 11(int) Constant 68
232: 91(int) Constant 5
238: 11(int) Constant 70
246: 11(int) Constant 73
250: 11(int) Constant 74
254: 11(int) Constant 75
255: TypePointer Output 18(fvec4)
256(outStream.Pos): 255(ptr) Variable Output
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 20 26 254 16 38 258 256(outStream.Pos) 163
261: TypePointer Output 11(int)
262(outStream.ViewportIndex): 261(ptr) Variable Output
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 264 13 26 254 16 38 264 262(outStream.ViewportIndex) 163
267(outStream.PrimitiveID): 261(ptr) Variable Output
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 13 26 254 16 38 269 267(outStream.PrimitiveID) 163
272: TypePointer Output 21(fvec3)
273(outStream.Normal): 272(ptr) Variable Output
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 22 26 254 16 38 275 273(outStream.Normal) 163
278(outStream.Color): 272(ptr) Variable Output
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 22 26 254 16 38 280 278(outStream.Color) 163
283(outStream.ViewVec): 272(ptr) Variable Output
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 285 22 26 254 16 38 285 283(outStream.ViewVec) 163
288(outStream.LightVec): 272(ptr) Variable Output
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 290 22 26 254 16 38 290 288(outStream.LightVec) 163
299: 11(int) Constant 78
301: TypeArray 18(fvec4) 17
302: TypePointer Input 301
303(input.Pos): 302(ptr) Variable Input
304: TypePointer Input 18(fvec4)
308: TypeArray 21(fvec3) 17
309: TypePointer Input 308
310(input.Normal): 309(ptr) Variable Input
311: TypePointer Input 21(fvec3)
315(input.Color): 309(ptr) Variable Input
338: TypePointer Input 11(int)
339(InvocationID): 338(ptr) Variable Input
342(PrimitiveID): 338(ptr) Variable Input
43: 11(int) Constant 7
44: 4 ExtInst 2(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 2(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 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
55: 11(int) Constant 50
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
59: 4 ExtInst 2(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 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
63: TypePointer Function 11(int)
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr)
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
75: 11(int) Constant 56
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 41 26 75 16 74 19 37
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
84: 11(int) Constant 2
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
94: 11(int) Constant 57
95: TypeInt 32 1
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 96 14 19 16
98: TypePointer Function 95(int)
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 97 43 16
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 97 26 94 16 74 19
104: 95(int) Constant 0
115: 95(int) Constant 3
116: TypeBool
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 14 84 16
122: 11(int) Constant 59
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 59 26 122 16 74 19
127: 8(float) Constant 0
128: 18(fvec4) ConstantComposite 127 127 127 127
129: 21(fvec3) ConstantComposite 127 127 127
130:45(GSOutput) ConstantComposite 128 16 16 129 129 129 129
132: 11(int) Constant 60
134: 95(int) Constant 1
135: TypePointer Function 21(fvec3)
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16
139: TypeMatrix 18(fvec4) 4
141: 116(bool) ConstantTrue
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 141
142: TypeArray 139 84
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
144: TypeArray 139 84
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
146(UBO): TypeStruct 142 144 18(fvec4)
149: 11(int) Constant 28
150: 11(int) Constant 21
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 143 26 149 150 16 16 17
153: 11(int) Constant 29
154: 11(int) Constant 20
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 145 26 153 154 16 16 17
157: 11(int) Constant 30
158: 11(int) Constant 17
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 20 26 157 158 16 16 17
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 37 26 132 16 38 160 16 17 147 151 155
161(ubo): TypeStruct 146(UBO)
164: 11(int) Constant 33
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 163 159 26 164 28 16 16 17
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 37 26 132 16 38 163 16 17 162
166: TypePointer Uniform 161(ubo)
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 165 84 16
168: 166(ptr) Variable Uniform
170: 11(int) Constant 8
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 165 26 132 16 38 1 168 170
172: TypePointer Uniform 139
173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 84 16
176: TypeMatrix 21(fvec3) 3
177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 141
188: 11(int) Constant 61
189: 95(int) Constant 4
191: 95(int) Constant 2
196: 11(int) Constant 63
197: TypePointer Function 18(fvec4)
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 196 16 74 19
207: 11(int) Constant 64
209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 210 20 26 207 16 74 19
218: 11(int) Constant 66
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 22 26 218 16 74 19
223: TypePointer Uniform 18(fvec4)
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
233: 11(int) Constant 67
234: 95(int) Constant 6
241: 11(int) Constant 68
242: 95(int) Constant 5
248: 11(int) Constant 70
256: 11(int) Constant 73
260: 11(int) Constant 74
264: 11(int) Constant 75
265: TypePointer Output 18(fvec4)
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
267(outStream.Pos): 265(ptr) Variable Output
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 20 26 264 16 38 269 267(outStream.Pos) 170
272: TypePointer Output 11(int)
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
274(outStream.ViewportIndex): 272(ptr) Variable Output
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 276 13 26 264 16 38 276 274(outStream.ViewportIndex) 170
279(outStream.PrimitiveID): 272(ptr) Variable Output
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 13 26 264 16 38 281 279(outStream.PrimitiveID) 170
284: TypePointer Output 21(fvec3)
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
286(outStream.Normal): 284(ptr) Variable Output
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 22 26 264 16 38 288 286(outStream.Normal) 170
291(outStream.Color): 284(ptr) Variable Output
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 293 22 26 264 16 38 293 291(outStream.Color) 170
296(outStream.ViewVec): 284(ptr) Variable Output
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 298 22 26 264 16 38 298 296(outStream.ViewVec) 170
301(outStream.LightVec): 284(ptr) Variable Output
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 303 22 26 264 16 38 303 301(outStream.LightVec) 170
312: 11(int) Constant 78
314: TypeArray 18(fvec4) 17
315: TypePointer Input 314
316(input.Pos): 315(ptr) Variable Input
317: TypePointer Input 18(fvec4)
321: TypeArray 21(fvec3) 17
322: TypePointer Input 321
323(input.Normal): 322(ptr) Variable Input
324: TypePointer Input 21(fvec3)
328(input.Color): 322(ptr) Variable Input
351: TypePointer Input 11(int)
352(InvocationID): 351(ptr) Variable Input
355(PrimitiveID): 351(ptr) Variable Input
Line 1 56 1
6(main): 4 Function None 5
7: Label
300(input): 42(ptr) Variable Function
337(InvocationID): 60(ptr) Variable Function
341(PrimitiveID): 60(ptr) Variable Function
344(outStream): 59(ptr) Variable Function
345(param): 42(ptr) Variable Function
347(param): 59(ptr) Variable Function
348(param): 60(ptr) Variable Function
350(param): 60(ptr) Variable Function
313(input): 42(ptr) Variable Function
350(InvocationID): 63(ptr) Variable Function
354(PrimitiveID): 63(ptr) Variable Function
357(outStream): 61(ptr) Variable Function
358(param): 42(ptr) Variable Function
360(param): 61(ptr) Variable Function
361(param): 63(ptr) Variable Function
363(param): 63(ptr) Variable Function
Line 1 56 0
305: 304(ptr) AccessChain 303(input.Pos) 99
306: 18(fvec4) Load 305
307: 189(ptr) AccessChain 300(input) 99 99
Store 307 306
312: 311(ptr) AccessChain 310(input.Normal) 99
313: 21(fvec3) Load 312
314: 130(ptr) AccessChain 300(input) 99 129
Store 314 313
316: 311(ptr) AccessChain 315(input.Color) 99
317: 21(fvec3) Load 316
318: 130(ptr) AccessChain 300(input) 99 183
Store 318 317
319: 304(ptr) AccessChain 303(input.Pos) 129
320: 18(fvec4) Load 319
321: 189(ptr) AccessChain 300(input) 129 99
Store 321 320
322: 311(ptr) AccessChain 310(input.Normal) 129
323: 21(fvec3) Load 322
324: 130(ptr) AccessChain 300(input) 129 129
Store 324 323
325: 311(ptr) AccessChain 315(input.Color) 129
318: 317(ptr) AccessChain 316(input.Pos) 104
319: 18(fvec4) Load 318
320: 197(ptr) AccessChain 313(input) 104 104
Store 320 319
325: 324(ptr) AccessChain 323(input.Normal) 104
326: 21(fvec3) Load 325
327: 130(ptr) AccessChain 300(input) 129 183
327: 135(ptr) AccessChain 313(input) 104 134
Store 327 326
328: 304(ptr) AccessChain 303(input.Pos) 183
329: 18(fvec4) Load 328
330: 189(ptr) AccessChain 300(input) 183 99
Store 330 329
331: 311(ptr) AccessChain 310(input.Normal) 183
332: 21(fvec3) Load 331
333: 130(ptr) AccessChain 300(input) 183 129
Store 333 332
334: 311(ptr) AccessChain 315(input.Color) 183
335: 21(fvec3) Load 334
336: 130(ptr) AccessChain 300(input) 183 183
Store 336 335
340: 11(int) Load 339(InvocationID)
Store 337(InvocationID) 340
343: 11(int) Load 342(PrimitiveID)
Store 341(PrimitiveID) 343
346: 40 Load 300(input)
Store 345(param) 346
349: 11(int) Load 337(InvocationID)
Store 348(param) 349
351: 11(int) Load 341(PrimitiveID)
Store 350(param) 351
352: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 345(param) 347(param) 348(param) 350(param)
353:43(GSOutput) Load 347(param)
Store 344(outStream) 353
329: 324(ptr) AccessChain 328(input.Color) 104
330: 21(fvec3) Load 329
331: 135(ptr) AccessChain 313(input) 104 191
Store 331 330
332: 317(ptr) AccessChain 316(input.Pos) 134
333: 18(fvec4) Load 332
334: 197(ptr) AccessChain 313(input) 134 104
Store 334 333
335: 324(ptr) AccessChain 323(input.Normal) 134
336: 21(fvec3) Load 335
337: 135(ptr) AccessChain 313(input) 134 134
Store 337 336
338: 324(ptr) AccessChain 328(input.Color) 134
339: 21(fvec3) Load 338
340: 135(ptr) AccessChain 313(input) 134 191
Store 340 339
341: 317(ptr) AccessChain 316(input.Pos) 191
342: 18(fvec4) Load 341
343: 197(ptr) AccessChain 313(input) 191 104
Store 343 342
344: 324(ptr) AccessChain 323(input.Normal) 191
345: 21(fvec3) Load 344
346: 135(ptr) AccessChain 313(input) 191 134
Store 346 345
347: 324(ptr) AccessChain 328(input.Color) 191
348: 21(fvec3) Load 347
349: 135(ptr) AccessChain 313(input) 191 191
Store 349 348
353: 11(int) Load 352(InvocationID)
Store 350(InvocationID) 353
356: 11(int) Load 355(PrimitiveID)
Store 354(PrimitiveID) 356
359: 40 Load 313(input)
Store 358(param) 359
362: 11(int) Load 350(InvocationID)
Store 361(param) 362
364: 11(int) Load 354(PrimitiveID)
Store 363(param) 364
365: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 358(param) 360(param) 361(param) 363(param)
366:45(GSOutput) Load 360(param)
Store 357(outStream) 366
Return
FunctionEnd
Line 1 56 1
67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 61
63(input): 42(ptr) FunctionParameter
64(outStream): 59(ptr) FunctionParameter
65(InvocationID): 60(ptr) FunctionParameter
66(PrimitiveID): 60(ptr) FunctionParameter
68: Label
95(i): 94(ptr) Variable Function
118(output): 59(ptr) Variable Function
190(pos): 189(ptr) Variable Function
199(worldPos): 189(ptr) Variable Function
210(lPos): 130(ptr) Variable Function
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 71 71 16 16
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 74 63(input) 77
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 64(outStream) 77
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 65(InvocationID) 77
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 66(PrimitiveID) 77
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 70 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 96 95(i) 77
Store 95(i) 99
Branch 100
100: Label
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
LoopMerge 102 103 None
Branch 106
106: Label
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
109: 91(int) Load 95(i)
114: 111(bool) SLessThan 109 110
BranchConditional 114 101 102
101: Label
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 117 117 16 16
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(output) 77
Store 118(output) 125
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 127 127 16 16
128: 91(int) Load 95(i)
131: 130(ptr) AccessChain 63(input) 128 129
132: 21(fvec3) Load 131
164: 11(int) Load 65(InvocationID)
166: 165(ptr) AccessChain 161 99 129 164
167: 133 Load 166
170: 18(fvec4) CompositeExtract 167 0
171: 21(fvec3) VectorShuffle 170 170 0 1 2
172: 18(fvec4) CompositeExtract 167 1
173: 21(fvec3) VectorShuffle 172 172 0 1 2
174: 18(fvec4) CompositeExtract 167 2
175: 21(fvec3) VectorShuffle 174 174 0 1 2
176: 168 CompositeConstruct 171 173 175
177: 21(fvec3) VectorTimesMatrix 132 176
178: 130(ptr) AccessChain 118(output) 110
Store 178 177
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 180 180 16 16
182: 91(int) Load 95(i)
184: 130(ptr) AccessChain 63(input) 182 183
185: 21(fvec3) Load 184
186: 130(ptr) AccessChain 118(output) 181
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
100(i): 98(ptr) Variable Function
123(output): 61(ptr) Variable Function
199(pos): 197(ptr) Variable Function
208(worldPos): 197(ptr) Variable Function
219(lPos): 135(ptr) Variable Function
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 67(input) 81
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 81
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 81
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 81
91: 4 ExtInst 2(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;)
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 100(i) 81
Store 100(i) 104
Branch 105
105: Label
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
LoopMerge 107 108 None
Branch 111
111: Label
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
114: 95(int) Load 100(i)
119: 116(bool) SLessThan 114 115
BranchConditional 119 106 107
106: Label
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(output) 81
Store 123(output) 130
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
133: 95(int) Load 100(i)
137: 135(ptr) AccessChain 67(input) 133 134
138: 21(fvec3) Load 137
171: 11(int) Load 69(InvocationID)
174: 172(ptr) AccessChain 168 104 134 171
175: 139 Load 174
178: 18(fvec4) CompositeExtract 175 0
179: 21(fvec3) VectorShuffle 178 178 0 1 2
180: 18(fvec4) CompositeExtract 175 1
181: 21(fvec3) VectorShuffle 180 180 0 1 2
182: 18(fvec4) CompositeExtract 175 2
183: 21(fvec3) VectorShuffle 182 182 0 1 2
184: 176 CompositeConstruct 179 181 183
185: 21(fvec3) VectorTimesMatrix 138 184
186: 135(ptr) AccessChain 123(output) 115
Store 186 185
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 188 188 16 16
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(pos) 77
194: 91(int) Load 95(i)
195: 189(ptr) AccessChain 63(input) 194 99
196: 18(fvec4) Load 195
Store 190(pos) 196
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 198 198 16 16
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(worldPos) 77
203: 18(fvec4) Load 190(pos)
204: 11(int) Load 65(InvocationID)
205: 165(ptr) AccessChain 161 99 129 204
206: 133 Load 205
207: 18(fvec4) VectorTimesMatrix 203 206
Store 199(worldPos) 207
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 209 209 16 16
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(lPos) 77
215: 214(ptr) AccessChain 161 99 183
216: 18(fvec4) Load 215
217: 11(int) Load 65(InvocationID)
218: 165(ptr) AccessChain 161 99 129 217
219: 133 Load 218
220: 18(fvec4) VectorTimesMatrix 216 219
221: 21(fvec3) VectorShuffle 220 220 0 1 2
Store 210(lPos) 221
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 223 223 16 16
225: 21(fvec3) Load 210(lPos)
226: 18(fvec4) Load 199(worldPos)
227: 21(fvec3) VectorShuffle 226 226 0 1 2
228: 21(fvec3) FSub 225 227
229: 130(ptr) AccessChain 118(output) 224
Store 229 228
230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 231 231 16 16
233: 18(fvec4) Load 199(worldPos)
234: 21(fvec3) VectorShuffle 233 233 0 1 2
235: 21(fvec3) FNegate 234
236: 130(ptr) AccessChain 118(output) 232
Store 236 235
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 238 238 16 16
239: 18(fvec4) Load 199(worldPos)
240: 11(int) Load 65(InvocationID)
241: 165(ptr) AccessChain 161 99 99 240
242: 133 Load 241
243: 18(fvec4) VectorTimesMatrix 239 242
244: 189(ptr) AccessChain 118(output) 99
Store 244 243
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 246 246 16 16
247: 11(int) Load 65(InvocationID)
248: 60(ptr) AccessChain 118(output) 129
Store 248 247
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 250 250 16 16
251: 11(int) Load 66(PrimitiveID)
252: 60(ptr) AccessChain 118(output) 183
Store 252 251
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 254 254 16 16
259: 189(ptr) AccessChain 118(output) 99
260: 18(fvec4) Load 259
Store 256(outStream.Pos) 260
265: 60(ptr) AccessChain 118(output) 129
266: 11(int) Load 265
Store 262(outStream.ViewportIndex) 266
270: 60(ptr) AccessChain 118(output) 183
271: 11(int) Load 270
Store 267(outStream.PrimitiveID) 271
276: 130(ptr) AccessChain 118(output) 110
277: 21(fvec3) Load 276
Store 273(outStream.Normal) 277
281: 130(ptr) AccessChain 118(output) 181
282: 21(fvec3) Load 281
Store 278(outStream.Color) 282
286: 130(ptr) AccessChain 118(output) 232
287: 21(fvec3) Load 286
Store 283(outStream.ViewVec) 287
291: 130(ptr) AccessChain 118(output) 224
292: 21(fvec3) Load 291
Store 288(outStream.LightVec) 292
190: 95(int) Load 100(i)
192: 135(ptr) AccessChain 67(input) 190 191
193: 21(fvec3) Load 192
194: 135(ptr) AccessChain 123(output) 189
Store 194 193
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 196 196 16 16
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(pos) 81
203: 95(int) Load 100(i)
204: 197(ptr) AccessChain 67(input) 203 104
205: 18(fvec4) Load 204
Store 199(pos) 205
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 207 207 16 16
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 209 208(worldPos) 81
212: 18(fvec4) Load 199(pos)
213: 11(int) Load 69(InvocationID)
214: 172(ptr) AccessChain 168 104 134 213
215: 139 Load 214
216: 18(fvec4) VectorTimesMatrix 212 215
Store 208(worldPos) 216
217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 218 218 16 16
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(lPos) 81
225: 223(ptr) AccessChain 168 104 191
226: 18(fvec4) Load 225
227: 11(int) Load 69(InvocationID)
228: 172(ptr) AccessChain 168 104 134 227
229: 139 Load 228
230: 18(fvec4) VectorTimesMatrix 226 229
231: 21(fvec3) VectorShuffle 230 230 0 1 2
Store 219(lPos) 231
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 233 233 16 16
235: 21(fvec3) Load 219(lPos)
236: 18(fvec4) Load 208(worldPos)
237: 21(fvec3) VectorShuffle 236 236 0 1 2
238: 21(fvec3) FSub 235 237
239: 135(ptr) AccessChain 123(output) 234
Store 239 238
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 241 241 16 16
243: 18(fvec4) Load 208(worldPos)
244: 21(fvec3) VectorShuffle 243 243 0 1 2
245: 21(fvec3) FNegate 244
246: 135(ptr) AccessChain 123(output) 242
Store 246 245
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
249: 18(fvec4) Load 208(worldPos)
250: 11(int) Load 69(InvocationID)
251: 172(ptr) AccessChain 168 104 104 250
252: 139 Load 251
253: 18(fvec4) VectorTimesMatrix 249 252
254: 197(ptr) AccessChain 123(output) 104
Store 254 253
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
257: 11(int) Load 69(InvocationID)
258: 63(ptr) AccessChain 123(output) 134
Store 258 257
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
261: 11(int) Load 70(PrimitiveID)
262: 63(ptr) AccessChain 123(output) 191
Store 262 261
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 264 264 16 16
270: 197(ptr) AccessChain 123(output) 104
271: 18(fvec4) Load 270
Store 267(outStream.Pos) 271
277: 63(ptr) AccessChain 123(output) 134
278: 11(int) Load 277
Store 274(outStream.ViewportIndex) 278
282: 63(ptr) AccessChain 123(output) 191
283: 11(int) Load 282
Store 279(outStream.PrimitiveID) 283
289: 135(ptr) AccessChain 123(output) 115
290: 21(fvec3) Load 289
Store 286(outStream.Normal) 290
294: 135(ptr) AccessChain 123(output) 189
295: 21(fvec3) Load 294
Store 291(outStream.Color) 295
299: 135(ptr) AccessChain 123(output) 242
300: 21(fvec3) Load 299
Store 296(outStream.ViewVec) 300
304: 135(ptr) AccessChain 123(output) 234
305: 21(fvec3) Load 304
Store 301(outStream.LightVec) 305
EmitVertex
Branch 103
103: Label
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
295: 91(int) Load 95(i)
296: 91(int) IAdd 295 129
Store 95(i) 296
Branch 100
102: Label
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 299 299 16 16
Branch 108
108: Label
306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
308: 95(int) Load 100(i)
309: 95(int) IAdd 308 134
Store 100(i) 309
Branch 105
107: Label
310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 312 312 16 16
EndPrimitive
Return
FunctionEnd