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