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