354 lines
17 KiB
Plaintext
354 lines
17 KiB
Plaintext
spv.types.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 260
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 96 98 105 107 114 116 123 125 132 134 141 143 150 152 159 161 165
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 140
|
|
Name 4 "main"
|
|
Name 8 "b"
|
|
Name 10 "u_b"
|
|
Name 12 "i_b"
|
|
Name 17 "b2"
|
|
Name 19 "u_b2"
|
|
Name 24 "i_b2"
|
|
Name 38 "b3"
|
|
Name 40 "u_b3"
|
|
Name 43 "i_b3"
|
|
Name 63 "b4"
|
|
Name 65 "u_b4"
|
|
Name 68 "i_b4"
|
|
Name 94 "i"
|
|
Name 96 "u_i"
|
|
Name 98 "i_i"
|
|
Name 103 "i2"
|
|
Name 105 "u_i2"
|
|
Name 107 "i_i2"
|
|
Name 112 "i3"
|
|
Name 114 "u_i3"
|
|
Name 116 "i_i3"
|
|
Name 121 "i4"
|
|
Name 123 "u_i4"
|
|
Name 125 "i_i4"
|
|
Name 130 "f"
|
|
Name 132 "u_f"
|
|
Name 134 "i_f"
|
|
Name 139 "f2"
|
|
Name 141 "u_f2"
|
|
Name 143 "i_f2"
|
|
Name 148 "f3"
|
|
Name 150 "u_f3"
|
|
Name 152 "i_f3"
|
|
Name 157 "f4"
|
|
Name 159 "u_f4"
|
|
Name 161 "i_f4"
|
|
Name 165 "gl_FragColor"
|
|
Decorate 96(u_i) Flat
|
|
Decorate 96(u_i) Location 0
|
|
Decorate 98(i_i) Flat
|
|
Decorate 98(i_i) Location 8
|
|
Decorate 105(u_i2) Flat
|
|
Decorate 105(u_i2) Location 1
|
|
Decorate 107(i_i2) Flat
|
|
Decorate 107(i_i2) Location 9
|
|
Decorate 114(u_i3) Flat
|
|
Decorate 114(u_i3) Location 2
|
|
Decorate 116(i_i3) Flat
|
|
Decorate 116(i_i3) Location 10
|
|
Decorate 123(u_i4) Flat
|
|
Decorate 123(u_i4) Location 3
|
|
Decorate 125(i_i4) Flat
|
|
Decorate 125(i_i4) Location 11
|
|
Decorate 132(u_f) Location 4
|
|
Decorate 134(i_f) Location 12
|
|
Decorate 141(u_f2) Location 5
|
|
Decorate 143(i_f2) Location 13
|
|
Decorate 150(u_f3) Location 6
|
|
Decorate 152(i_f3) Location 14
|
|
Decorate 159(u_f4) Location 7
|
|
Decorate 161(i_f4) Location 15
|
|
Decorate 165(gl_FragColor) Location 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeBool
|
|
7: TypePointer Function 6(bool)
|
|
9: TypePointer Private 6(bool)
|
|
10(u_b): 9(ptr) Variable Private
|
|
12(i_b): 9(ptr) Variable Private
|
|
15: TypeVector 6(bool) 2
|
|
16: TypePointer Function 15(bvec2)
|
|
18: TypePointer Private 15(bvec2)
|
|
19(u_b2): 18(ptr) Variable Private
|
|
20: TypeInt 32 0
|
|
21: 20(int) Constant 0
|
|
24(i_b2): 18(ptr) Variable Private
|
|
28: 20(int) Constant 1
|
|
36: TypeVector 6(bool) 3
|
|
37: TypePointer Function 36(bvec3)
|
|
39: TypePointer Private 36(bvec3)
|
|
40(u_b3): 39(ptr) Variable Private
|
|
43(i_b3): 39(ptr) Variable Private
|
|
53: 20(int) Constant 2
|
|
61: TypeVector 6(bool) 4
|
|
62: TypePointer Function 61(bvec4)
|
|
64: TypePointer Private 61(bvec4)
|
|
65(u_b4): 64(ptr) Variable Private
|
|
68(i_b4): 64(ptr) Variable Private
|
|
84: 20(int) Constant 3
|
|
92: TypeInt 32 1
|
|
93: TypePointer Function 92(int)
|
|
95: TypePointer Input 92(int)
|
|
96(u_i): 95(ptr) Variable Input
|
|
98(i_i): 95(ptr) Variable Input
|
|
101: TypeVector 92(int) 2
|
|
102: TypePointer Function 101(ivec2)
|
|
104: TypePointer Input 101(ivec2)
|
|
105(u_i2): 104(ptr) Variable Input
|
|
107(i_i2): 104(ptr) Variable Input
|
|
110: TypeVector 92(int) 3
|
|
111: TypePointer Function 110(ivec3)
|
|
113: TypePointer Input 110(ivec3)
|
|
114(u_i3): 113(ptr) Variable Input
|
|
116(i_i3): 113(ptr) Variable Input
|
|
119: TypeVector 92(int) 4
|
|
120: TypePointer Function 119(ivec4)
|
|
122: TypePointer Input 119(ivec4)
|
|
123(u_i4): 122(ptr) Variable Input
|
|
125(i_i4): 122(ptr) Variable Input
|
|
128: TypeFloat 32
|
|
129: TypePointer Function 128(float)
|
|
131: TypePointer Input 128(float)
|
|
132(u_f): 131(ptr) Variable Input
|
|
134(i_f): 131(ptr) Variable Input
|
|
137: TypeVector 128(float) 2
|
|
138: TypePointer Function 137(fvec2)
|
|
140: TypePointer Input 137(fvec2)
|
|
141(u_f2): 140(ptr) Variable Input
|
|
143(i_f2): 140(ptr) Variable Input
|
|
146: TypeVector 128(float) 3
|
|
147: TypePointer Function 146(fvec3)
|
|
149: TypePointer Input 146(fvec3)
|
|
150(u_f3): 149(ptr) Variable Input
|
|
152(i_f3): 149(ptr) Variable Input
|
|
155: TypeVector 128(float) 4
|
|
156: TypePointer Function 155(fvec4)
|
|
158: TypePointer Input 155(fvec4)
|
|
159(u_f4): 158(ptr) Variable Input
|
|
161(i_f4): 158(ptr) Variable Input
|
|
164: TypePointer Output 155(fvec4)
|
|
165(gl_FragColor): 164(ptr) Variable Output
|
|
257: 128(float) Constant 1065353216
|
|
258: 155(fvec4) ConstantComposite 257 257 257 257
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
8(b): 7(ptr) Variable Function
|
|
17(b2): 16(ptr) Variable Function
|
|
38(b3): 37(ptr) Variable Function
|
|
63(b4): 62(ptr) Variable Function
|
|
94(i): 93(ptr) Variable Function
|
|
103(i2): 102(ptr) Variable Function
|
|
112(i3): 111(ptr) Variable Function
|
|
121(i4): 120(ptr) Variable Function
|
|
130(f): 129(ptr) Variable Function
|
|
139(f2): 138(ptr) Variable Function
|
|
148(f3): 147(ptr) Variable Function
|
|
157(f4): 156(ptr) Variable Function
|
|
194: 156(ptr) Variable Function
|
|
11: 6(bool) Load 10(u_b)
|
|
13: 6(bool) Load 12(i_b)
|
|
14: 6(bool) LogicalAnd 11 13
|
|
Store 8(b) 14
|
|
22: 9(ptr) AccessChain 19(u_b2) 21
|
|
23: 6(bool) Load 22
|
|
25: 9(ptr) AccessChain 24(i_b2) 21
|
|
26: 6(bool) Load 25
|
|
27: 6(bool) LogicalAnd 23 26
|
|
29: 9(ptr) AccessChain 19(u_b2) 28
|
|
30: 6(bool) Load 29
|
|
31: 6(bool) LogicalAnd 27 30
|
|
32: 9(ptr) AccessChain 24(i_b2) 28
|
|
33: 6(bool) Load 32
|
|
34: 6(bool) LogicalAnd 31 33
|
|
35: 15(bvec2) CompositeConstruct 34 34
|
|
Store 17(b2) 35
|
|
41: 9(ptr) AccessChain 40(u_b3) 21
|
|
42: 6(bool) Load 41
|
|
44: 9(ptr) AccessChain 43(i_b3) 21
|
|
45: 6(bool) Load 44
|
|
46: 6(bool) LogicalAnd 42 45
|
|
47: 9(ptr) AccessChain 40(u_b3) 28
|
|
48: 6(bool) Load 47
|
|
49: 6(bool) LogicalAnd 46 48
|
|
50: 9(ptr) AccessChain 43(i_b3) 28
|
|
51: 6(bool) Load 50
|
|
52: 6(bool) LogicalAnd 49 51
|
|
54: 9(ptr) AccessChain 40(u_b3) 53
|
|
55: 6(bool) Load 54
|
|
56: 6(bool) LogicalAnd 52 55
|
|
57: 9(ptr) AccessChain 43(i_b3) 53
|
|
58: 6(bool) Load 57
|
|
59: 6(bool) LogicalAnd 56 58
|
|
60: 36(bvec3) CompositeConstruct 59 59 59
|
|
Store 38(b3) 60
|
|
66: 9(ptr) AccessChain 65(u_b4) 21
|
|
67: 6(bool) Load 66
|
|
69: 9(ptr) AccessChain 68(i_b4) 21
|
|
70: 6(bool) Load 69
|
|
71: 6(bool) LogicalAnd 67 70
|
|
72: 9(ptr) AccessChain 65(u_b4) 28
|
|
73: 6(bool) Load 72
|
|
74: 6(bool) LogicalAnd 71 73
|
|
75: 9(ptr) AccessChain 68(i_b4) 28
|
|
76: 6(bool) Load 75
|
|
77: 6(bool) LogicalAnd 74 76
|
|
78: 9(ptr) AccessChain 65(u_b4) 53
|
|
79: 6(bool) Load 78
|
|
80: 6(bool) LogicalAnd 77 79
|
|
81: 9(ptr) AccessChain 68(i_b4) 53
|
|
82: 6(bool) Load 81
|
|
83: 6(bool) LogicalAnd 80 82
|
|
85: 9(ptr) AccessChain 65(u_b4) 84
|
|
86: 6(bool) Load 85
|
|
87: 6(bool) LogicalAnd 83 86
|
|
88: 9(ptr) AccessChain 68(i_b4) 84
|
|
89: 6(bool) Load 88
|
|
90: 6(bool) LogicalAnd 87 89
|
|
91: 61(bvec4) CompositeConstruct 90 90 90 90
|
|
Store 63(b4) 91
|
|
97: 92(int) Load 96(u_i)
|
|
99: 92(int) Load 98(i_i)
|
|
100: 92(int) IAdd 97 99
|
|
Store 94(i) 100
|
|
106: 101(ivec2) Load 105(u_i2)
|
|
108: 101(ivec2) Load 107(i_i2)
|
|
109: 101(ivec2) IAdd 106 108
|
|
Store 103(i2) 109
|
|
115: 110(ivec3) Load 114(u_i3)
|
|
117: 110(ivec3) Load 116(i_i3)
|
|
118: 110(ivec3) IAdd 115 117
|
|
Store 112(i3) 118
|
|
124: 119(ivec4) Load 123(u_i4)
|
|
126: 119(ivec4) Load 125(i_i4)
|
|
127: 119(ivec4) IAdd 124 126
|
|
Store 121(i4) 127
|
|
133: 128(float) Load 132(u_f)
|
|
135: 128(float) Load 134(i_f)
|
|
136: 128(float) FAdd 133 135
|
|
Store 130(f) 136
|
|
142: 137(fvec2) Load 141(u_f2)
|
|
144: 137(fvec2) Load 143(i_f2)
|
|
145: 137(fvec2) FAdd 142 144
|
|
Store 139(f2) 145
|
|
151: 146(fvec3) Load 150(u_f3)
|
|
153: 146(fvec3) Load 152(i_f3)
|
|
154: 146(fvec3) FAdd 151 153
|
|
Store 148(f3) 154
|
|
160: 155(fvec4) Load 159(u_f4)
|
|
162: 155(fvec4) Load 161(i_f4)
|
|
163: 155(fvec4) FAdd 160 162
|
|
Store 157(f4) 163
|
|
166: 6(bool) Load 8(b)
|
|
167: 7(ptr) AccessChain 17(b2) 21
|
|
168: 6(bool) Load 167
|
|
169: 6(bool) LogicalOr 166 168
|
|
170: 7(ptr) AccessChain 17(b2) 28
|
|
171: 6(bool) Load 170
|
|
172: 6(bool) LogicalOr 169 171
|
|
173: 7(ptr) AccessChain 38(b3) 21
|
|
174: 6(bool) Load 173
|
|
175: 6(bool) LogicalOr 172 174
|
|
176: 7(ptr) AccessChain 38(b3) 28
|
|
177: 6(bool) Load 176
|
|
178: 6(bool) LogicalOr 175 177
|
|
179: 7(ptr) AccessChain 38(b3) 53
|
|
180: 6(bool) Load 179
|
|
181: 6(bool) LogicalOr 178 180
|
|
182: 7(ptr) AccessChain 63(b4) 21
|
|
183: 6(bool) Load 182
|
|
184: 6(bool) LogicalOr 181 183
|
|
185: 7(ptr) AccessChain 63(b4) 28
|
|
186: 6(bool) Load 185
|
|
187: 6(bool) LogicalOr 184 186
|
|
188: 7(ptr) AccessChain 63(b4) 53
|
|
189: 6(bool) Load 188
|
|
190: 6(bool) LogicalOr 187 189
|
|
191: 7(ptr) AccessChain 63(b4) 84
|
|
192: 6(bool) Load 191
|
|
193: 6(bool) LogicalOr 190 192
|
|
SelectionMerge 196 None
|
|
BranchConditional 193 195 256
|
|
195: Label
|
|
197: 92(int) Load 94(i)
|
|
198: 93(ptr) AccessChain 103(i2) 21
|
|
199: 92(int) Load 198
|
|
200: 92(int) IAdd 197 199
|
|
201: 93(ptr) AccessChain 103(i2) 28
|
|
202: 92(int) Load 201
|
|
203: 92(int) IAdd 200 202
|
|
204: 93(ptr) AccessChain 112(i3) 21
|
|
205: 92(int) Load 204
|
|
206: 92(int) IAdd 203 205
|
|
207: 93(ptr) AccessChain 112(i3) 28
|
|
208: 92(int) Load 207
|
|
209: 92(int) IAdd 206 208
|
|
210: 93(ptr) AccessChain 112(i3) 53
|
|
211: 92(int) Load 210
|
|
212: 92(int) IAdd 209 211
|
|
213: 93(ptr) AccessChain 121(i4) 21
|
|
214: 92(int) Load 213
|
|
215: 92(int) IAdd 212 214
|
|
216: 93(ptr) AccessChain 121(i4) 28
|
|
217: 92(int) Load 216
|
|
218: 92(int) IAdd 215 217
|
|
219: 93(ptr) AccessChain 121(i4) 53
|
|
220: 92(int) Load 219
|
|
221: 92(int) IAdd 218 220
|
|
222: 93(ptr) AccessChain 121(i4) 84
|
|
223: 92(int) Load 222
|
|
224: 92(int) IAdd 221 223
|
|
225: 128(float) ConvertSToF 224
|
|
226: 128(float) Load 130(f)
|
|
227: 128(float) FAdd 225 226
|
|
228: 129(ptr) AccessChain 139(f2) 21
|
|
229: 128(float) Load 228
|
|
230: 128(float) FAdd 227 229
|
|
231: 129(ptr) AccessChain 139(f2) 28
|
|
232: 128(float) Load 231
|
|
233: 128(float) FAdd 230 232
|
|
234: 129(ptr) AccessChain 148(f3) 21
|
|
235: 128(float) Load 234
|
|
236: 128(float) FAdd 233 235
|
|
237: 129(ptr) AccessChain 148(f3) 28
|
|
238: 128(float) Load 237
|
|
239: 128(float) FAdd 236 238
|
|
240: 129(ptr) AccessChain 148(f3) 53
|
|
241: 128(float) Load 240
|
|
242: 128(float) FAdd 239 241
|
|
243: 129(ptr) AccessChain 157(f4) 21
|
|
244: 128(float) Load 243
|
|
245: 128(float) FAdd 242 244
|
|
246: 129(ptr) AccessChain 157(f4) 28
|
|
247: 128(float) Load 246
|
|
248: 128(float) FAdd 245 247
|
|
249: 129(ptr) AccessChain 157(f4) 53
|
|
250: 128(float) Load 249
|
|
251: 128(float) FAdd 248 250
|
|
252: 129(ptr) AccessChain 157(f4) 84
|
|
253: 128(float) Load 252
|
|
254: 128(float) FAdd 251 253
|
|
255: 155(fvec4) CompositeConstruct 254 254 254 254
|
|
Store 194 255
|
|
Branch 196
|
|
256: Label
|
|
Store 194 258
|
|
Branch 196
|
|
196: Label
|
|
259: 155(fvec4) Load 194
|
|
Store 165(gl_FragColor) 259
|
|
Return
|
|
FunctionEnd
|