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