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