glslang/Test/baseResults/spv.debuginfo.hlsl.vert.out
Qingyuan Zheng 30661abd9c
Clean up the debug line info tracking and generation.
- Correctly populate the field `currentFileId` with the presence of include directive
- Support lazy OpLine/OpDebugLine generation only when a real instruction is added instead of a debug location is set
- Improve the debug location tracking to per-block instead of just per-builder
- A few bug fixes related to debug source info
2024-02-09 10:27:40 -08:00

656 lines
40 KiB
Plaintext

spv.debuginfo.hlsl.vert
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 512
Capability Shader
Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 6 "main" 461 464 468 471 474 477 481 485 493 497 500 503 506 509
2: String ""
9: String "float"
12: String "uint"
24: String "int"
29: String "instanceRot"
31: String "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings
// OpModuleProcessed entry-point main
// OpModuleProcessed client vulkan100
// OpModuleProcessed target-env vulkan1.0
// OpModuleProcessed keep-uncalled
// OpModuleProcessed hlsl-offsets
#line 1
"
36: String "UV"
43: String "instanceScale"
47: String "instanceTexIndex"
51: String "VSInput"
62: String "Pos"
66: String "LightVec"
73: String "VSOutput"
79: String "@main"
83: String "input"
93: String "output"
130: String "s"
140: String "bool"
145: String "modelview"
150: String "lightPos"
154: String "globSpeed"
158: String "UBO"
161: String "ubo"
178: String "c"
194: String "mx"
229: String "my"
263: String "mz"
283: String "rotMat"
313: String "gRotMat"
341: String "locPos"
355: String "pos"
421: String "lPos"
Name 6 "main"
Name 27 "VSInput"
MemberName 27(VSInput) 0 "Pos"
MemberName 27(VSInput) 1 "Normal"
MemberName 27(VSInput) 2 "UV"
MemberName 27(VSInput) 3 "Color"
MemberName 27(VSInput) 4 "instancePos"
MemberName 27(VSInput) 5 "instanceRot"
MemberName 27(VSInput) 6 "instanceScale"
MemberName 27(VSInput) 7 "instanceTexIndex"
Name 60 "VSOutput"
MemberName 60(VSOutput) 0 "Pos"
MemberName 60(VSOutput) 1 "Normal"
MemberName 60(VSOutput) 2 "Color"
MemberName 60(VSOutput) 3 "UV"
MemberName 60(VSOutput) 4 "ViewVec"
MemberName 60(VSOutput) 5 "LightVec"
Name 77 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;"
Name 76 "input"
Name 91 "output"
Name 128 "s"
Name 143 "UBO"
MemberName 143(UBO) 0 "projection"
MemberName 143(UBO) 1 "modelview"
MemberName 143(UBO) 2 "lightPos"
MemberName 143(UBO) 3 "locSpeed"
MemberName 143(UBO) 4 "globSpeed"
Name 159 "ubo"
MemberName 159(ubo) 0 "ubo"
Name 166 ""
Name 176 "c"
Name 192 "mx"
Name 227 "my"
Name 261 "mz"
Name 281 "rotMat"
Name 311 "gRotMat"
Name 339 "locPos"
Name 353 "pos"
Name 419 "lPos"
Name 459 "input"
Name 461 "input.Pos"
Name 464 "input.Normal"
Name 468 "input.UV"
Name 471 "input.Color"
Name 474 "input.instancePos"
Name 477 "input.instanceRot"
Name 481 "input.instanceScale"
Name 485 "input.instanceTexIndex"
Name 488 "flattenTemp"
Name 489 "param"
Name 493 "@entryPointOutput.Pos"
Name 497 "@entryPointOutput.Normal"
Name 500 "@entryPointOutput.Color"
Name 503 "@entryPointOutput.UV"
Name 506 "@entryPointOutput.ViewVec"
Name 509 "@entryPointOutput.LightVec"
MemberDecorate 143(UBO) 0 RowMajor
MemberDecorate 143(UBO) 0 Offset 0
MemberDecorate 143(UBO) 0 MatrixStride 16
MemberDecorate 143(UBO) 1 RowMajor
MemberDecorate 143(UBO) 1 Offset 64
MemberDecorate 143(UBO) 1 MatrixStride 16
MemberDecorate 143(UBO) 2 Offset 128
MemberDecorate 143(UBO) 3 Offset 144
MemberDecorate 143(UBO) 4 Offset 148
MemberDecorate 159(ubo) 0 Offset 0
Decorate 159(ubo) Block
Decorate 166 DescriptorSet 0
Decorate 166 Binding 0
Decorate 461(input.Pos) Location 0
Decorate 464(input.Normal) Location 1
Decorate 468(input.UV) Location 2
Decorate 471(input.Color) Location 3
Decorate 474(input.instancePos) Location 4
Decorate 477(input.instanceRot) Location 5
Decorate 481(input.instanceScale) Location 6
Decorate 485(input.instanceTexIndex) Location 7
Decorate 493(@entryPointOutput.Pos) BuiltIn Position
Decorate 497(@entryPointOutput.Normal) Location 0
Decorate 500(@entryPointOutput.Color) Location 1
Decorate 503(@entryPointOutput.UV) Location 2
Decorate 506(@entryPointOutput.ViewVec) Location 3
Decorate 509(@entryPointOutput.LightVec) Location 4
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
11: TypeInt 32 0
14: 11(int) Constant 32
15: 11(int) Constant 6
16: 11(int) Constant 0
13: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
17: 11(int) Constant 3
10: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
18: TypeVector 8(float) 3
19: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
20: TypeVector 8(float) 2
21: 11(int) Constant 2
22: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21
23: TypeInt 32 1
26: 11(int) Constant 4
25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 24 14 26 16
27(VSInput): TypeStruct 18(fvec3) 18(fvec3) 20(fvec2) 18(fvec3) 18(fvec3) 18(fvec3) 8(float) 23(int)
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 31
32: 11(int) Constant 35
33: 11(int) Constant 40
28: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17
37: 11(int) Constant 30
38: 11(int) Constant 31
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 36 22 30 37 38 16 16 17
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17
40: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 29 19 30 32 33 16 16 17
44: 11(int) Constant 36
45: 11(int) Constant 41
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 43 10 30 44 45 16 16 17
48: 11(int) Constant 37
49: 11(int) Constant 42
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 25 30 48 49 16 16 17
52: 11(int) Constant 1
54: 11(int) Constant 5
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 54
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 51 52 30 16 16 53 51 16 17 28 34 35 39 40 41 42 46
55: TypePointer Function 27(VSInput)
56: 11(int) Constant 7
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 56 16
58: TypeVector 8(float) 4
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26
60(VSOutput): TypeStruct 58(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3)
63: 11(int) Constant 53
64: 11(int) Constant 13
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 59 30 63 64 16 16 17
67: 11(int) Constant 58
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
69: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 73 52 30 16 16 53 73 16 17 61 65 68 69 70 71
74: TypeFunction 60(VSOutput) 55(ptr)
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 72 50
81: 11(int) Constant 62
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 75 30 81 16 53 79 17 81
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 81 16 80 26 52
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
89: TypePointer Function 60(VSOutput)
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 56 16
94: 11(int) Constant 63
92: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 72 30 94 16 80 26
97: 8(float) Constant 0
98: 58(fvec4) ConstantComposite 97 97 97 97
99: 18(fvec3) ConstantComposite 97 97 97
100:60(VSOutput) ConstantComposite 98 99 99 99 99 99
101: 23(int) Constant 2
102: 23(int) Constant 3
103: TypePointer Function 18(fvec3)
104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 19 56 16
107: 11(int) Constant 64
110: TypePointer Function 20(fvec2)
111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 56 16
114: 11(int) Constant 65
116: 23(int) Constant 7
117: TypePointer Function 23(int)
118: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 25 56 16
126: TypePointer Function 8(float)
127: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 56 16
131: 11(int) Constant 68
129: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 10 30 131 16 80 26
134: 23(int) Constant 5
137: TypeMatrix 58(fvec4) 4
139: TypeBool
141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 21 16
142: 139(bool) ConstantTrue
138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 59 26 142
143(UBO): TypeStruct 137 137 58(fvec4) 8(float) 8(float)
146: 11(int) Constant 43
147: 11(int) Constant 20
144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17
148: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17
151: 11(int) Constant 44
152: 11(int) Constant 17
149: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 59 30 151 152 16 16 17
155: 11(int) Constant 46
153: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17
156: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17
157: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 52 30 131 16 53 158 16 17 144 148 149 153 156
159(ubo): TypeStruct 143(UBO)
162: 11(int) Constant 49
160: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 157 30 162 48 16 16 17
163: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 52 30 131 16 53 161 16 17 160
164: TypePointer Uniform 159(ubo)
165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 163 21 16
166: 164(ptr) Variable Uniform
168: 11(int) Constant 8
167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 163 30 131 16 53 2 166 168
169: 23(int) Constant 0
170: TypePointer Uniform 8(float)
171: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16
179: 11(int) Constant 69
177: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 178 10 30 179 16 80 26
188: TypeMatrix 18(fvec3) 3
189: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 142
190: TypePointer Function 188
191: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 189 56 16
195: 11(int) Constant 71
193: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 194 189 30 195 16 80 26
203: 11(int) Constant 72
205: 8(float) Constant 1065353216
213: 11(int) Constant 76
221: 11(int) Constant 77
230: 11(int) Constant 79
228: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 229 189 30 230 16 80 26
238: 11(int) Constant 81
247: 11(int) Constant 84
255: 11(int) Constant 85
264: 11(int) Constant 87
262: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 263 189 30 264 16 80 26
269: 11(int) Constant 88
274: 11(int) Constant 89
284: 11(int) Constant 91
282: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 189 30 284 16 80 26
294: 11(int) Constant 94
296: 23(int) Constant 4
303: 11(int) Constant 95
309: TypePointer Function 137
310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 138 56 16
314: 11(int) Constant 96
312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 138 30 314 16 80 26
321: TypePointer Function 58(fvec4)
322: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 56 16
324: 23(int) Constant 1
325: 58(fvec4) ConstantComposite 97 205 97 97
328: 11(int) Constant 97
331: 11(int) Constant 98
335: 58(fvec4) ConstantComposite 97 97 97 205
338: 11(int) Constant 99
342: 11(int) Constant 101
340: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 341 59 30 342 16 80 26
356: 11(int) Constant 102
354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 355 59 30 356 16 80 26
361: 23(int) Constant 6
374: 11(int) Constant 104
377: TypePointer Uniform 137
378: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 138 21 16
388: 11(int) Constant 105
407: 11(int) Constant 107
422: 11(int) Constant 108
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 19 30 422 16 80 26
425: TypePointer Uniform 58(fvec4)
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 21 16
442: 11(int) Constant 109
449: 11(int) Constant 110
455: 11(int) Constant 111
460: TypePointer Input 18(fvec3)
461(input.Pos): 460(ptr) Variable Input
464(input.Normal): 460(ptr) Variable Input
467: TypePointer Input 20(fvec2)
468(input.UV): 467(ptr) Variable Input
471(input.Color): 460(ptr) Variable Input
474(input.instancePos): 460(ptr) Variable Input
477(input.instanceRot): 460(ptr) Variable Input
480: TypePointer Input 8(float)
481(input.instanceScale): 480(ptr) Variable Input
484: TypePointer Input 23(int)
485(input.instanceTexIndex): 484(ptr) Variable Input
492: TypePointer Output 58(fvec4)
493(@entryPointOutput.Pos): 492(ptr) Variable Output
496: TypePointer Output 18(fvec3)
497(@entryPointOutput.Normal): 496(ptr) Variable Output
500(@entryPointOutput.Color): 496(ptr) Variable Output
503(@entryPointOutput.UV): 496(ptr) Variable Output
506(@entryPointOutput.ViewVec): 496(ptr) Variable Output
509(@entryPointOutput.LightVec): 496(ptr) Variable Output
6(main): 4 Function None 5
7: Label
459(input): 55(ptr) Variable Function
488(flattenTemp): 89(ptr) Variable Function
489(param): 55(ptr) Variable Function
462: 18(fvec3) Load 461(input.Pos)
463: 103(ptr) AccessChain 459(input) 169
Store 463 462
465: 18(fvec3) Load 464(input.Normal)
466: 103(ptr) AccessChain 459(input) 324
Store 466 465
469: 20(fvec2) Load 468(input.UV)
470: 110(ptr) AccessChain 459(input) 101
Store 470 469
472: 18(fvec3) Load 471(input.Color)
473: 103(ptr) AccessChain 459(input) 102
Store 473 472
475: 18(fvec3) Load 474(input.instancePos)
476: 103(ptr) AccessChain 459(input) 296
Store 476 475
478: 18(fvec3) Load 477(input.instanceRot)
479: 103(ptr) AccessChain 459(input) 134
Store 479 478
482: 8(float) Load 481(input.instanceScale)
483: 126(ptr) AccessChain 459(input) 361
Store 483 482
486: 23(int) Load 485(input.instanceTexIndex)
487: 117(ptr) AccessChain 459(input) 116
Store 487 486
490: 27(VSInput) Load 459(input)
Store 489(param) 490
491:60(VSOutput) FunctionCall 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 489(param)
Store 488(flattenTemp) 491
494: 321(ptr) AccessChain 488(flattenTemp) 169
495: 58(fvec4) Load 494
Store 493(@entryPointOutput.Pos) 495
498: 103(ptr) AccessChain 488(flattenTemp) 324
499: 18(fvec3) Load 498
Store 497(@entryPointOutput.Normal) 499
501: 103(ptr) AccessChain 488(flattenTemp) 101
502: 18(fvec3) Load 501
Store 500(@entryPointOutput.Color) 502
504: 103(ptr) AccessChain 488(flattenTemp) 102
505: 18(fvec3) Load 504
Store 503(@entryPointOutput.UV) 505
507: 103(ptr) AccessChain 488(flattenTemp) 296
508: 18(fvec3) Load 507
Store 506(@entryPointOutput.ViewVec) 508
510: 103(ptr) AccessChain 488(flattenTemp) 134
511: 18(fvec3) Load 510
Store 509(@entryPointOutput.LightVec) 511
Return
FunctionEnd
77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):60(VSOutput) Function None 74
76(input): 55(ptr) FunctionParameter
78: Label
91(output): 89(ptr) Variable Function
128(s): 126(ptr) Variable Function
176(c): 126(ptr) Variable Function
192(mx): 190(ptr) Variable Function
227(my): 190(ptr) Variable Function
261(mz): 190(ptr) Variable Function
281(rotMat): 190(ptr) Variable Function
311(gRotMat): 309(ptr) Variable Function
339(locPos): 321(ptr) Variable Function
353(pos): 321(ptr) Variable Function
419(lPos): 103(ptr) Variable Function
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 81 81 16 16
84: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 76(input) 85
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 94 94 16 16
95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85
Store 91(output) 100
106: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 107 107 16 16
105: 103(ptr) AccessChain 76(input) 102
108: 18(fvec3) Load 105
109: 103(ptr) AccessChain 91(output) 101
Store 109 108
113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 114 114 16 16
112: 110(ptr) AccessChain 76(input) 101
115: 20(fvec2) Load 112
119: 117(ptr) AccessChain 76(input) 116
120: 23(int) Load 119
121: 8(float) ConvertSToF 120
122: 8(float) CompositeExtract 115 0
123: 8(float) CompositeExtract 115 1
124: 18(fvec3) CompositeConstruct 122 123 121
125: 103(ptr) AccessChain 91(output) 102
Store 125 124
133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 131 131 16 16
132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(s) 85
135: 126(ptr) AccessChain 76(input) 134 16
136: 8(float) Load 135
172: 170(ptr) AccessChain 166 169 102
173: 8(float) Load 172
174: 8(float) FAdd 136 173
175: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 174
Store 128(s) 175
181: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16
180: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 177 176(c) 85
182: 126(ptr) AccessChain 76(input) 134 16
183: 8(float) Load 182
184: 170(ptr) AccessChain 166 169 102
185: 8(float) Load 184
186: 8(float) FAdd 183 185
187: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 186
Store 176(c) 187
197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 195 195 16 16
196: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 193 192(mx) 85
198: 8(float) Load 176(c)
199: 8(float) Load 128(s)
200: 8(float) FNegate 199
202: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 203 203 16 16
201: 8(float) Load 128(s)
204: 8(float) Load 176(c)
206: 18(fvec3) CompositeConstruct 198 200 97
207: 18(fvec3) CompositeConstruct 201 204 97
208: 18(fvec3) CompositeConstruct 97 97 205
209: 188 CompositeConstruct 206 207 208
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 195 195 16 16
Store 192(mx) 209
212: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 213 213 16 16
211: 126(ptr) AccessChain 76(input) 134 52
214: 8(float) Load 211
215: 170(ptr) AccessChain 166 169 102
216: 8(float) Load 215
217: 8(float) FAdd 214 216
218: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 217
Store 128(s) 218
220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 221 221 16 16
219: 126(ptr) AccessChain 76(input) 134 52
222: 8(float) Load 219
223: 170(ptr) AccessChain 166 169 102
224: 8(float) Load 223
225: 8(float) FAdd 222 224
226: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 225
Store 176(c) 226
232: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 230 230 16 16
231: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 228 227(my) 85
233: 8(float) Load 176(c)
234: 8(float) Load 128(s)
235: 8(float) FNegate 234
237: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 238 238 16 16
236: 8(float) Load 128(s)
239: 8(float) Load 176(c)
240: 18(fvec3) CompositeConstruct 233 97 235
241: 18(fvec3) CompositeConstruct 97 205 97
242: 18(fvec3) CompositeConstruct 236 97 239
243: 188 CompositeConstruct 240 241 242
244: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 230 230 16 16
Store 227(my) 243
246: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 247 247 16 16
245: 126(ptr) AccessChain 76(input) 134 21
248: 8(float) Load 245
249: 170(ptr) AccessChain 166 169 102
250: 8(float) Load 249
251: 8(float) FAdd 248 250
252: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 251
Store 128(s) 252
254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 255 255 16 16
253: 126(ptr) AccessChain 76(input) 134 21
256: 8(float) Load 253
257: 170(ptr) AccessChain 166 169 102
258: 8(float) Load 257
259: 8(float) FAdd 256 258
260: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 259
Store 176(c) 260
266: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16
265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 262 261(mz) 85
268: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 269 269 16 16
267: 8(float) Load 176(c)
270: 8(float) Load 128(s)
271: 8(float) FNegate 270
273: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 274 274 16 16
272: 8(float) Load 128(s)
275: 8(float) Load 176(c)
276: 18(fvec3) CompositeConstruct 205 97 97
277: 18(fvec3) CompositeConstruct 97 267 271
278: 18(fvec3) CompositeConstruct 97 272 275
279: 188 CompositeConstruct 276 277 278
280: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16
Store 261(mz) 279
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 284 284 16 16
285: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 282 281(rotMat) 85
287: 188 Load 192(mx)
288: 188 Load 227(my)
289: 188 MatrixTimesMatrix 287 288
290: 188 Load 261(mz)
291: 188 MatrixTimesMatrix 289 290
Store 281(rotMat) 291
293: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 294 294 16 16
292: 126(ptr) AccessChain 76(input) 134 52
295: 8(float) Load 292
297: 170(ptr) AccessChain 166 169 296
298: 8(float) Load 297
299: 8(float) FAdd 295 298
300: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 299
Store 128(s) 300
302: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 303 303 16 16
301: 126(ptr) AccessChain 76(input) 134 52
304: 8(float) Load 301
305: 170(ptr) AccessChain 166 169 296
306: 8(float) Load 305
307: 8(float) FAdd 304 306
308: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 307
Store 176(c) 308
316: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16
315: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 312 311(gRotMat) 85
317: 8(float) Load 176(c)
318: 8(float) Load 128(s)
319: 8(float) FNegate 318
320: 58(fvec4) CompositeConstruct 317 97 319 97
323: 321(ptr) AccessChain 311(gRotMat) 169
Store 323 320
327: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 328 328 16 16
326: 321(ptr) AccessChain 311(gRotMat) 324
Store 326 325
330: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 331 331 16 16
329: 8(float) Load 128(s)
332: 8(float) Load 176(c)
333: 58(fvec4) CompositeConstruct 329 97 332 97
334: 321(ptr) AccessChain 311(gRotMat) 101
Store 334 333
337: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 338 338 16 16
336: 321(ptr) AccessChain 311(gRotMat) 102
Store 336 335
344: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 342 342 16 16
343: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 340 339(locPos) 85
345: 103(ptr) AccessChain 76(input) 169
346: 18(fvec3) Load 345
347: 188 Load 281(rotMat)
348: 18(fvec3) VectorTimesMatrix 346 347
349: 8(float) CompositeExtract 348 0
350: 8(float) CompositeExtract 348 1
351: 8(float) CompositeExtract 348 2
352: 58(fvec4) CompositeConstruct 349 350 351 205
Store 339(locPos) 352
358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 356 356 16 16
357: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 354 353(pos) 85
359: 58(fvec4) Load 339(locPos)
360: 18(fvec3) VectorShuffle 359 359 0 1 2
362: 126(ptr) AccessChain 76(input) 361
363: 8(float) Load 362
364: 18(fvec3) VectorTimesScalar 360 363
365: 103(ptr) AccessChain 76(input) 296
366: 18(fvec3) Load 365
367: 18(fvec3) FAdd 364 366
368: 8(float) CompositeExtract 367 0
369: 8(float) CompositeExtract 367 1
370: 8(float) CompositeExtract 367 2
371: 58(fvec4) CompositeConstruct 368 369 370 205
Store 353(pos) 371
373: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 374 374 16 16
372: 58(fvec4) Load 353(pos)
375: 137 Load 311(gRotMat)
376: 58(fvec4) VectorTimesMatrix 372 375
379: 377(ptr) AccessChain 166 169 324
380: 137 Load 379
381: 58(fvec4) VectorTimesMatrix 376 380
382: 377(ptr) AccessChain 166 169 169
383: 137 Load 382
384: 58(fvec4) VectorTimesMatrix 381 383
385: 321(ptr) AccessChain 91(output) 169
Store 385 384
387: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 388 388 16 16
386: 103(ptr) AccessChain 76(input) 324
389: 18(fvec3) Load 386
390: 188 Load 281(rotMat)
391: 18(fvec3) VectorTimesMatrix 389 390
392: 137 Load 311(gRotMat)
393: 377(ptr) AccessChain 166 169 324
394: 137 Load 393
395: 137 MatrixTimesMatrix 392 394
396: 58(fvec4) CompositeExtract 395 0
397: 18(fvec3) VectorShuffle 396 396 0 1 2
398: 58(fvec4) CompositeExtract 395 1
399: 18(fvec3) VectorShuffle 398 398 0 1 2
400: 58(fvec4) CompositeExtract 395 2
401: 18(fvec3) VectorShuffle 400 400 0 1 2
402: 188 CompositeConstruct 397 399 401
403: 18(fvec3) VectorTimesMatrix 391 402
404: 103(ptr) AccessChain 91(output) 324
Store 404 403
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 407 407 16 16
405: 103(ptr) AccessChain 76(input) 169
408: 18(fvec3) Load 405
409: 103(ptr) AccessChain 76(input) 296
410: 18(fvec3) Load 409
411: 18(fvec3) FAdd 408 410
412: 8(float) CompositeExtract 411 0
413: 8(float) CompositeExtract 411 1
414: 8(float) CompositeExtract 411 2
415: 58(fvec4) CompositeConstruct 412 413 414 205
416: 377(ptr) AccessChain 166 169 324
417: 137 Load 416
418: 58(fvec4) VectorTimesMatrix 415 417
Store 353(pos) 418
424: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 422 422 16 16
423: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 420 419(lPos) 85
427: 425(ptr) AccessChain 166 169 101
428: 58(fvec4) Load 427
429: 18(fvec3) VectorShuffle 428 428 0 1 2
430: 377(ptr) AccessChain 166 169 324
431: 137 Load 430
432: 58(fvec4) CompositeExtract 431 0
433: 18(fvec3) VectorShuffle 432 432 0 1 2
434: 58(fvec4) CompositeExtract 431 1
435: 18(fvec3) VectorShuffle 434 434 0 1 2
436: 58(fvec4) CompositeExtract 431 2
437: 18(fvec3) VectorShuffle 436 436 0 1 2
438: 188 CompositeConstruct 433 435 437
439: 18(fvec3) VectorTimesMatrix 429 438
Store 419(lPos) 439
441: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
440: 18(fvec3) Load 419(lPos)
443: 58(fvec4) Load 353(pos)
444: 18(fvec3) VectorShuffle 443 443 0 1 2
445: 18(fvec3) FSub 440 444
446: 103(ptr) AccessChain 91(output) 134
Store 446 445
448: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 449 449 16 16
447: 58(fvec4) Load 353(pos)
450: 18(fvec3) VectorShuffle 447 447 0 1 2
451: 18(fvec3) FNegate 450
452: 103(ptr) AccessChain 91(output) 296
Store 452 451
454: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 455 455 16 16
453:60(VSOutput) Load 91(output)
ReturnValue 453
FunctionEnd