mirror of
https://github.com/libretro/glslang.git
synced 2024-12-11 18:03:32 +00:00
589 lines
30 KiB
Plaintext
589 lines
30 KiB
Plaintext
spv.sparseTexture.frag
|
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 433
|
|
|
|
Capability Shader
|
|
Capability SampledRect
|
|
Capability SparseResidency
|
|
Capability SampledCubeArray
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 33 48 89 360 388 400 418
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
SourceExtension "GL_ARB_sparse_texture2"
|
|
Name 4 "main"
|
|
Name 8 "resident"
|
|
Name 13 "texel"
|
|
Name 18 "itexel"
|
|
Name 23 "utexel"
|
|
Name 29 "s2D"
|
|
Name 33 "c2"
|
|
Name 35 "ResType"
|
|
Name 44 "s3D"
|
|
Name 48 "c3"
|
|
Name 59 "isCube"
|
|
Name 62 "ResType"
|
|
Name 71 "s2DShadow"
|
|
Name 77 "ResType"
|
|
Name 86 "sCubeArrayShadow"
|
|
Name 89 "c4"
|
|
Name 108 "usCubeArray"
|
|
Name 111 "ResType"
|
|
Name 140 "us2DRect"
|
|
Name 154 "s2DArrayShadow"
|
|
Name 186 "s2DMS"
|
|
Name 223 "is2DArray"
|
|
Name 256 "sCubeShadow"
|
|
Name 289 "s2DRectShadow"
|
|
Name 360 "offsets"
|
|
Name 385 "i2D"
|
|
Name 388 "ic2"
|
|
Name 397 "ii3D"
|
|
Name 400 "ic3"
|
|
Name 409 "i2DMS"
|
|
Name 418 "outColor"
|
|
Decorate 29(s2D) DescriptorSet 0
|
|
Decorate 44(s3D) DescriptorSet 0
|
|
Decorate 59(isCube) DescriptorSet 0
|
|
Decorate 71(s2DShadow) DescriptorSet 0
|
|
Decorate 86(sCubeArrayShadow) DescriptorSet 0
|
|
Decorate 108(usCubeArray) DescriptorSet 0
|
|
Decorate 140(us2DRect) DescriptorSet 0
|
|
Decorate 154(s2DArrayShadow) DescriptorSet 0
|
|
Decorate 186(s2DMS) DescriptorSet 0
|
|
Decorate 223(is2DArray) DescriptorSet 0
|
|
Decorate 256(sCubeShadow) DescriptorSet 0
|
|
Decorate 289(s2DRectShadow) DescriptorSet 0
|
|
Decorate 360(offsets) Flat
|
|
Decorate 385(i2D) DescriptorSet 0
|
|
Decorate 388(ic2) Flat
|
|
Decorate 397(ii3D) DescriptorSet 0
|
|
Decorate 400(ic3) Flat
|
|
Decorate 409(i2DMS) DescriptorSet 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 1
|
|
7: TypePointer Function 6(int)
|
|
9: 6(int) Constant 0
|
|
10: TypeFloat 32
|
|
11: TypeVector 10(float) 4
|
|
12: TypePointer Function 11(fvec4)
|
|
14: 10(float) Constant 0
|
|
15: 11(fvec4) ConstantComposite 14 14 14 14
|
|
16: TypeVector 6(int) 4
|
|
17: TypePointer Function 16(ivec4)
|
|
19: 16(ivec4) ConstantComposite 9 9 9 9
|
|
20: TypeInt 32 0
|
|
21: TypeVector 20(int) 4
|
|
22: TypePointer Function 21(ivec4)
|
|
24: 20(int) Constant 0
|
|
25: 21(ivec4) ConstantComposite 24 24 24 24
|
|
26: TypeImage 10(float) 2D sampled format:Unknown
|
|
27: TypeSampledImage 26
|
|
28: TypePointer UniformConstant 27
|
|
29(s2D): 28(ptr) Variable UniformConstant
|
|
31: TypeVector 10(float) 2
|
|
32: TypePointer Input 31(fvec2)
|
|
33(c2): 32(ptr) Variable Input
|
|
35(ResType): TypeStruct 6(int) 11(fvec4)
|
|
41: TypeImage 10(float) 3D sampled format:Unknown
|
|
42: TypeSampledImage 41
|
|
43: TypePointer UniformConstant 42
|
|
44(s3D): 43(ptr) Variable UniformConstant
|
|
46: TypeVector 10(float) 3
|
|
47: TypePointer Input 46(fvec3)
|
|
48(c3): 47(ptr) Variable Input
|
|
50: 10(float) Constant 1073741824
|
|
56: TypeImage 6(int) Cube sampled format:Unknown
|
|
57: TypeSampledImage 56
|
|
58: TypePointer UniformConstant 57
|
|
59(isCube): 58(ptr) Variable UniformConstant
|
|
62(ResType): TypeStruct 6(int) 16(ivec4)
|
|
68: TypeImage 10(float) 2D depth sampled format:Unknown
|
|
69: TypeSampledImage 68
|
|
70: TypePointer UniformConstant 69
|
|
71(s2DShadow): 70(ptr) Variable UniformConstant
|
|
74: TypePointer Function 10(float)
|
|
77(ResType): TypeStruct 6(int) 10(float)
|
|
83: TypeImage 10(float) Cube depth array sampled format:Unknown
|
|
84: TypeSampledImage 83
|
|
85: TypePointer UniformConstant 84
|
|
86(sCubeArrayShadow): 85(ptr) Variable UniformConstant
|
|
88: TypePointer Input 11(fvec4)
|
|
89(c4): 88(ptr) Variable Input
|
|
91: 10(float) Constant 1065353216
|
|
105: TypeImage 20(int) Cube array sampled format:Unknown
|
|
106: TypeSampledImage 105
|
|
107: TypePointer UniformConstant 106
|
|
108(usCubeArray): 107(ptr) Variable UniformConstant
|
|
111(ResType): TypeStruct 6(int) 21(ivec4)
|
|
119: 20(int) Constant 1
|
|
129: TypeVector 6(int) 3
|
|
130: 6(int) Constant 2
|
|
131: 129(ivec3) ConstantComposite 130 130 130
|
|
137: TypeImage 20(int) Rect sampled format:Unknown
|
|
138: TypeSampledImage 137
|
|
139: TypePointer UniformConstant 138
|
|
140(us2DRect): 139(ptr) Variable UniformConstant
|
|
143: TypeVector 6(int) 2
|
|
144: 6(int) Constant 3
|
|
145: 143(ivec2) ConstantComposite 144 144
|
|
151: TypeImage 10(float) 2D depth array sampled format:Unknown
|
|
152: TypeSampledImage 151
|
|
153: TypePointer UniformConstant 152
|
|
154(s2DArrayShadow): 153(ptr) Variable UniformConstant
|
|
157: 6(int) Constant 5
|
|
158: 143(ivec2) ConstantComposite 157 157
|
|
159: 20(int) Constant 2
|
|
183: TypeImage 10(float) 2D multi-sampled sampled format:Unknown
|
|
184: TypeSampledImage 183
|
|
185: TypePointer UniformConstant 184
|
|
186(s2DMS): 185(ptr) Variable UniformConstant
|
|
190: 6(int) Constant 4
|
|
199: 129(ivec3) ConstantComposite 190 190 190
|
|
220: TypeImage 6(int) 2D array sampled format:Unknown
|
|
221: TypeSampledImage 220
|
|
222: TypePointer UniformConstant 221
|
|
223(is2DArray): 222(ptr) Variable UniformConstant
|
|
226: 6(int) Constant 6
|
|
227: 143(ivec2) ConstantComposite 226 226
|
|
235: 6(int) Constant 7
|
|
236: 143(ivec2) ConstantComposite 235 235
|
|
253: TypeImage 10(float) Cube depth sampled format:Unknown
|
|
254: TypeSampledImage 253
|
|
255: TypePointer UniformConstant 254
|
|
256(sCubeShadow): 255(ptr) Variable UniformConstant
|
|
286: TypeImage 10(float) Rect depth sampled format:Unknown
|
|
287: TypeSampledImage 286
|
|
288: TypePointer UniformConstant 287
|
|
289(s2DRectShadow): 288(ptr) Variable UniformConstant
|
|
294: 20(int) Constant 3
|
|
306: 143(ivec2) ConstantComposite 130 130
|
|
335: 143(ivec2) ConstantComposite 190 190
|
|
357: 20(int) Constant 4
|
|
358: TypeArray 143(ivec2) 357
|
|
359: TypePointer Input 358
|
|
360(offsets): 359(ptr) Variable Input
|
|
383: TypeImage 10(float) 2D nonsampled format:Rgba32f
|
|
384: TypePointer UniformConstant 383
|
|
385(i2D): 384(ptr) Variable UniformConstant
|
|
387: TypePointer Input 143(ivec2)
|
|
388(ic2): 387(ptr) Variable Input
|
|
395: TypeImage 6(int) 3D nonsampled format:Rgba32i
|
|
396: TypePointer UniformConstant 395
|
|
397(ii3D): 396(ptr) Variable UniformConstant
|
|
399: TypePointer Input 129(ivec3)
|
|
400(ic3): 399(ptr) Variable Input
|
|
407: TypeImage 10(float) 2D multi-sampled nonsampled format:Rgba32f
|
|
408: TypePointer UniformConstant 407
|
|
409(i2DMS): 408(ptr) Variable UniformConstant
|
|
417: TypePointer Output 11(fvec4)
|
|
418(outColor): 417(ptr) Variable Output
|
|
421: TypeBool
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
8(resident): 7(ptr) Variable Function
|
|
13(texel): 12(ptr) Variable Function
|
|
18(itexel): 17(ptr) Variable Function
|
|
23(utexel): 22(ptr) Variable Function
|
|
419: 12(ptr) Variable Function
|
|
Store 8(resident) 9
|
|
Store 13(texel) 15
|
|
Store 18(itexel) 19
|
|
Store 23(utexel) 25
|
|
30: 27 Load 29(s2D)
|
|
34: 31(fvec2) Load 33(c2)
|
|
36: 35(ResType) ImageSparseSampleImplicitLod 30 34
|
|
37: 11(fvec4) CompositeExtract 36 1
|
|
Store 13(texel) 37
|
|
38: 6(int) CompositeExtract 36 0
|
|
39: 6(int) Load 8(resident)
|
|
40: 6(int) BitwiseOr 39 38
|
|
Store 8(resident) 40
|
|
45: 42 Load 44(s3D)
|
|
49: 46(fvec3) Load 48(c3)
|
|
51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50
|
|
52: 11(fvec4) CompositeExtract 51 1
|
|
Store 13(texel) 52
|
|
53: 6(int) CompositeExtract 51 0
|
|
54: 6(int) Load 8(resident)
|
|
55: 6(int) BitwiseOr 54 53
|
|
Store 8(resident) 55
|
|
60: 57 Load 59(isCube)
|
|
61: 46(fvec3) Load 48(c3)
|
|
63: 62(ResType) ImageSparseSampleImplicitLod 60 61
|
|
64: 16(ivec4) CompositeExtract 63 1
|
|
Store 18(itexel) 64
|
|
65: 6(int) CompositeExtract 63 0
|
|
66: 6(int) Load 8(resident)
|
|
67: 6(int) BitwiseOr 66 65
|
|
Store 8(resident) 67
|
|
72: 69 Load 71(s2DShadow)
|
|
73: 46(fvec3) Load 48(c3)
|
|
75: 74(ptr) AccessChain 13(texel) 24
|
|
76: 10(float) CompositeExtract 73 2
|
|
78: 77(ResType) ImageSparseSampleDrefImplicitLod 72 73 76
|
|
79: 10(float) CompositeExtract 78 1
|
|
Store 75 79
|
|
80: 6(int) CompositeExtract 78 0
|
|
81: 6(int) Load 8(resident)
|
|
82: 6(int) BitwiseOr 81 80
|
|
Store 8(resident) 82
|
|
87: 84 Load 86(sCubeArrayShadow)
|
|
90: 11(fvec4) Load 89(c4)
|
|
92: 74(ptr) AccessChain 13(texel) 24
|
|
93: 77(ResType) ImageSparseSampleDrefImplicitLod 87 90 91
|
|
94: 10(float) CompositeExtract 93 1
|
|
Store 92 94
|
|
95: 6(int) CompositeExtract 93 0
|
|
96: 6(int) Load 8(resident)
|
|
97: 6(int) BitwiseOr 96 95
|
|
Store 8(resident) 97
|
|
98: 27 Load 29(s2D)
|
|
99: 31(fvec2) Load 33(c2)
|
|
100: 35(ResType) ImageSparseSampleExplicitLod 98 99 Lod 50
|
|
101: 11(fvec4) CompositeExtract 100 1
|
|
Store 13(texel) 101
|
|
102: 6(int) CompositeExtract 100 0
|
|
103: 6(int) Load 8(resident)
|
|
104: 6(int) BitwiseOr 103 102
|
|
Store 8(resident) 104
|
|
109: 106 Load 108(usCubeArray)
|
|
110: 11(fvec4) Load 89(c4)
|
|
112:111(ResType) ImageSparseSampleExplicitLod 109 110 Lod 91
|
|
113: 21(ivec4) CompositeExtract 112 1
|
|
Store 23(utexel) 113
|
|
114: 6(int) CompositeExtract 112 0
|
|
115: 6(int) Load 8(resident)
|
|
116: 6(int) BitwiseOr 115 114
|
|
Store 8(resident) 116
|
|
117: 69 Load 71(s2DShadow)
|
|
118: 46(fvec3) Load 48(c3)
|
|
120: 74(ptr) AccessChain 13(texel) 119
|
|
121: 10(float) CompositeExtract 118 2
|
|
122: 77(ResType) ImageSparseSampleDrefExplicitLod 117 118 121 Lod 50
|
|
123: 10(float) CompositeExtract 122 1
|
|
Store 120 123
|
|
124: 6(int) CompositeExtract 122 0
|
|
125: 6(int) Load 8(resident)
|
|
126: 6(int) BitwiseOr 125 124
|
|
Store 8(resident) 126
|
|
127: 42 Load 44(s3D)
|
|
128: 46(fvec3) Load 48(c3)
|
|
132: 35(ResType) ImageSparseSampleImplicitLod 127 128 Bias ConstOffset 50 131
|
|
133: 11(fvec4) CompositeExtract 132 1
|
|
Store 13(texel) 133
|
|
134: 6(int) CompositeExtract 132 0
|
|
135: 6(int) Load 8(resident)
|
|
136: 6(int) BitwiseOr 135 134
|
|
Store 8(resident) 136
|
|
141: 138 Load 140(us2DRect)
|
|
142: 31(fvec2) Load 33(c2)
|
|
146:111(ResType) ImageSparseSampleImplicitLod 141 142 ConstOffset 145
|
|
147: 21(ivec4) CompositeExtract 146 1
|
|
Store 23(utexel) 147
|
|
148: 6(int) CompositeExtract 146 0
|
|
149: 6(int) Load 8(resident)
|
|
150: 6(int) BitwiseOr 149 148
|
|
Store 8(resident) 150
|
|
155: 152 Load 154(s2DArrayShadow)
|
|
156: 11(fvec4) Load 89(c4)
|
|
160: 74(ptr) AccessChain 13(texel) 159
|
|
161: 10(float) CompositeExtract 156 3
|
|
162: 77(ResType) ImageSparseSampleDrefImplicitLod 155 156 161 ConstOffset 158
|
|
163: 10(float) CompositeExtract 162 1
|
|
Store 160 163
|
|
164: 6(int) CompositeExtract 162 0
|
|
165: 6(int) Load 8(resident)
|
|
166: 6(int) BitwiseOr 165 164
|
|
Store 8(resident) 166
|
|
167: 27 Load 29(s2D)
|
|
168: 31(fvec2) Load 33(c2)
|
|
169: 143(ivec2) ConvertFToS 168
|
|
170: 35(ResType) ImageSparseFetch 167 169 Lod 130
|
|
171: 11(fvec4) CompositeExtract 170 1
|
|
Store 13(texel) 171
|
|
172: 6(int) CompositeExtract 170 0
|
|
173: 6(int) Load 8(resident)
|
|
174: 6(int) BitwiseOr 173 172
|
|
Store 8(resident) 174
|
|
175: 138 Load 140(us2DRect)
|
|
176: 31(fvec2) Load 33(c2)
|
|
177: 143(ivec2) ConvertFToS 176
|
|
178:111(ResType) ImageSparseFetch 175 177
|
|
179: 21(ivec4) CompositeExtract 178 1
|
|
Store 23(utexel) 179
|
|
180: 6(int) CompositeExtract 178 0
|
|
181: 6(int) Load 8(resident)
|
|
182: 6(int) BitwiseOr 181 180
|
|
Store 8(resident) 182
|
|
187: 184 Load 186(s2DMS)
|
|
188: 31(fvec2) Load 33(c2)
|
|
189: 143(ivec2) ConvertFToS 188
|
|
191: 35(ResType) ImageSparseFetch 187 189 Sample 190
|
|
192: 11(fvec4) CompositeExtract 191 1
|
|
Store 13(texel) 192
|
|
193: 6(int) CompositeExtract 191 0
|
|
194: 6(int) Load 8(resident)
|
|
195: 6(int) BitwiseOr 194 193
|
|
Store 8(resident) 195
|
|
196: 42 Load 44(s3D)
|
|
197: 46(fvec3) Load 48(c3)
|
|
198: 129(ivec3) ConvertFToS 197
|
|
200: 35(ResType) ImageSparseFetch 196 198 Lod ConstOffset 130 199
|
|
201: 11(fvec4) CompositeExtract 200 1
|
|
Store 13(texel) 201
|
|
202: 6(int) CompositeExtract 200 0
|
|
203: 6(int) Load 8(resident)
|
|
204: 6(int) BitwiseOr 203 202
|
|
Store 8(resident) 204
|
|
205: 138 Load 140(us2DRect)
|
|
206: 31(fvec2) Load 33(c2)
|
|
207: 143(ivec2) ConvertFToS 206
|
|
208:111(ResType) ImageSparseFetch 205 207 ConstOffset 145
|
|
209: 21(ivec4) CompositeExtract 208 1
|
|
Store 23(utexel) 209
|
|
210: 6(int) CompositeExtract 208 0
|
|
211: 6(int) Load 8(resident)
|
|
212: 6(int) BitwiseOr 211 210
|
|
Store 8(resident) 212
|
|
213: 27 Load 29(s2D)
|
|
214: 31(fvec2) Load 33(c2)
|
|
215: 35(ResType) ImageSparseSampleExplicitLod 213 214 Lod ConstOffset 50 158
|
|
216: 11(fvec4) CompositeExtract 215 1
|
|
Store 13(texel) 216
|
|
217: 6(int) CompositeExtract 215 0
|
|
218: 6(int) Load 8(resident)
|
|
219: 6(int) BitwiseOr 218 217
|
|
Store 8(resident) 219
|
|
224: 221 Load 223(is2DArray)
|
|
225: 46(fvec3) Load 48(c3)
|
|
228: 62(ResType) ImageSparseSampleExplicitLod 224 225 Lod ConstOffset 50 227
|
|
229: 16(ivec4) CompositeExtract 228 1
|
|
Store 18(itexel) 229
|
|
230: 6(int) CompositeExtract 228 0
|
|
231: 6(int) Load 8(resident)
|
|
232: 6(int) BitwiseOr 231 230
|
|
Store 8(resident) 232
|
|
233: 69 Load 71(s2DShadow)
|
|
234: 46(fvec3) Load 48(c3)
|
|
237: 74(ptr) AccessChain 13(texel) 159
|
|
238: 10(float) CompositeExtract 234 2
|
|
239: 77(ResType) ImageSparseSampleDrefExplicitLod 233 234 238 Lod ConstOffset 50 236
|
|
240: 10(float) CompositeExtract 239 1
|
|
Store 237 240
|
|
241: 6(int) CompositeExtract 239 0
|
|
242: 6(int) Load 8(resident)
|
|
243: 6(int) BitwiseOr 242 241
|
|
Store 8(resident) 243
|
|
244: 42 Load 44(s3D)
|
|
245: 46(fvec3) Load 48(c3)
|
|
246: 46(fvec3) Load 48(c3)
|
|
247: 46(fvec3) Load 48(c3)
|
|
248: 35(ResType) ImageSparseSampleExplicitLod 244 245 Grad 246 247
|
|
249: 11(fvec4) CompositeExtract 248 1
|
|
Store 13(texel) 249
|
|
250: 6(int) CompositeExtract 248 0
|
|
251: 6(int) Load 8(resident)
|
|
252: 6(int) BitwiseOr 251 250
|
|
Store 8(resident) 252
|
|
257: 254 Load 256(sCubeShadow)
|
|
258: 11(fvec4) Load 89(c4)
|
|
259: 46(fvec3) Load 48(c3)
|
|
260: 46(fvec3) Load 48(c3)
|
|
261: 74(ptr) AccessChain 13(texel) 119
|
|
262: 10(float) CompositeExtract 258 3
|
|
263: 77(ResType) ImageSparseSampleDrefExplicitLod 257 258 262 Grad 259 260
|
|
264: 10(float) CompositeExtract 263 1
|
|
Store 261 264
|
|
265: 6(int) CompositeExtract 263 0
|
|
266: 6(int) Load 8(resident)
|
|
267: 6(int) BitwiseOr 266 265
|
|
Store 8(resident) 267
|
|
268: 106 Load 108(usCubeArray)
|
|
269: 11(fvec4) Load 89(c4)
|
|
270: 46(fvec3) Load 48(c3)
|
|
271: 46(fvec3) Load 48(c3)
|
|
272:111(ResType) ImageSparseSampleExplicitLod 268 269 Grad 270 271
|
|
273: 21(ivec4) CompositeExtract 272 1
|
|
Store 23(utexel) 273
|
|
274: 6(int) CompositeExtract 272 0
|
|
275: 6(int) Load 8(resident)
|
|
276: 6(int) BitwiseOr 275 274
|
|
Store 8(resident) 276
|
|
277: 27 Load 29(s2D)
|
|
278: 31(fvec2) Load 33(c2)
|
|
279: 31(fvec2) Load 33(c2)
|
|
280: 31(fvec2) Load 33(c2)
|
|
281: 35(ResType) ImageSparseSampleExplicitLod 277 278 Grad ConstOffset 279 280 158
|
|
282: 11(fvec4) CompositeExtract 281 1
|
|
Store 13(texel) 282
|
|
283: 6(int) CompositeExtract 281 0
|
|
284: 6(int) Load 8(resident)
|
|
285: 6(int) BitwiseOr 284 283
|
|
Store 8(resident) 285
|
|
290: 287 Load 289(s2DRectShadow)
|
|
291: 46(fvec3) Load 48(c3)
|
|
292: 31(fvec2) Load 33(c2)
|
|
293: 31(fvec2) Load 33(c2)
|
|
295: 74(ptr) AccessChain 13(texel) 294
|
|
296: 10(float) CompositeExtract 291 2
|
|
297: 77(ResType) ImageSparseSampleDrefExplicitLod 290 291 296 Grad ConstOffset 292 293 227
|
|
298: 10(float) CompositeExtract 297 1
|
|
Store 295 298
|
|
299: 6(int) CompositeExtract 297 0
|
|
300: 6(int) Load 8(resident)
|
|
301: 6(int) BitwiseOr 300 299
|
|
Store 8(resident) 301
|
|
302: 221 Load 223(is2DArray)
|
|
303: 46(fvec3) Load 48(c3)
|
|
304: 31(fvec2) Load 33(c2)
|
|
305: 31(fvec2) Load 33(c2)
|
|
307: 62(ResType) ImageSparseSampleExplicitLod 302 303 Grad ConstOffset 304 305 306
|
|
308: 16(ivec4) CompositeExtract 307 1
|
|
Store 18(itexel) 308
|
|
309: 6(int) CompositeExtract 307 0
|
|
310: 6(int) Load 8(resident)
|
|
311: 6(int) BitwiseOr 310 309
|
|
Store 8(resident) 311
|
|
312: 27 Load 29(s2D)
|
|
313: 31(fvec2) Load 33(c2)
|
|
314: 35(ResType) ImageSparseGather 312 313 9
|
|
315: 11(fvec4) CompositeExtract 314 1
|
|
Store 13(texel) 315
|
|
316: 6(int) CompositeExtract 314 0
|
|
317: 6(int) Load 8(resident)
|
|
318: 6(int) BitwiseOr 317 316
|
|
Store 8(resident) 318
|
|
319: 221 Load 223(is2DArray)
|
|
320: 46(fvec3) Load 48(c3)
|
|
321: 62(ResType) ImageSparseGather 319 320 130
|
|
322: 16(ivec4) CompositeExtract 321 1
|
|
Store 18(itexel) 322
|
|
323: 6(int) CompositeExtract 321 0
|
|
324: 6(int) Load 8(resident)
|
|
325: 6(int) BitwiseOr 324 323
|
|
Store 8(resident) 325
|
|
326: 152 Load 154(s2DArrayShadow)
|
|
327: 46(fvec3) Load 48(c3)
|
|
328: 35(ResType) ImageSparseDrefGather 326 327 50
|
|
329: 11(fvec4) CompositeExtract 328 1
|
|
Store 13(texel) 329
|
|
330: 6(int) CompositeExtract 328 0
|
|
331: 6(int) Load 8(resident)
|
|
332: 6(int) BitwiseOr 331 330
|
|
Store 8(resident) 332
|
|
333: 27 Load 29(s2D)
|
|
334: 31(fvec2) Load 33(c2)
|
|
336: 35(ResType) ImageSparseGather 333 334 9 ConstOffset 335
|
|
337: 11(fvec4) CompositeExtract 336 1
|
|
Store 13(texel) 337
|
|
338: 6(int) CompositeExtract 336 0
|
|
339: 6(int) Load 8(resident)
|
|
340: 6(int) BitwiseOr 339 338
|
|
Store 8(resident) 340
|
|
341: 221 Load 223(is2DArray)
|
|
342: 46(fvec3) Load 48(c3)
|
|
343: 62(ResType) ImageSparseGather 341 342 130 ConstOffset 158
|
|
344: 16(ivec4) CompositeExtract 343 1
|
|
Store 18(itexel) 344
|
|
345: 6(int) CompositeExtract 343 0
|
|
346: 6(int) Load 8(resident)
|
|
347: 6(int) BitwiseOr 346 345
|
|
Store 8(resident) 347
|
|
348: 287 Load 289(s2DRectShadow)
|
|
349: 31(fvec2) Load 33(c2)
|
|
350: 35(ResType) ImageSparseDrefGather 348 349 50 ConstOffset 236
|
|
351: 11(fvec4) CompositeExtract 350 1
|
|
Store 13(texel) 351
|
|
352: 6(int) CompositeExtract 350 0
|
|
353: 6(int) Load 8(resident)
|
|
354: 6(int) BitwiseOr 353 352
|
|
Store 8(resident) 354
|
|
355: 27 Load 29(s2D)
|
|
356: 31(fvec2) Load 33(c2)
|
|
361: 358 Load 360(offsets)
|
|
362: 35(ResType) ImageSparseGather 355 356 9 ConstOffsets 361
|
|
363: 11(fvec4) CompositeExtract 362 1
|
|
Store 13(texel) 363
|
|
364: 6(int) CompositeExtract 362 0
|
|
365: 6(int) Load 8(resident)
|
|
366: 6(int) BitwiseOr 365 364
|
|
Store 8(resident) 366
|
|
367: 221 Load 223(is2DArray)
|
|
368: 46(fvec3) Load 48(c3)
|
|
369: 358 Load 360(offsets)
|
|
370: 62(ResType) ImageSparseGather 367 368 130 ConstOffsets 369
|
|
371: 16(ivec4) CompositeExtract 370 1
|
|
Store 18(itexel) 371
|
|
372: 6(int) CompositeExtract 370 0
|
|
373: 6(int) Load 8(resident)
|
|
374: 6(int) BitwiseOr 373 372
|
|
Store 8(resident) 374
|
|
375: 287 Load 289(s2DRectShadow)
|
|
376: 31(fvec2) Load 33(c2)
|
|
377: 358 Load 360(offsets)
|
|
378: 35(ResType) ImageSparseDrefGather 375 376 50 ConstOffsets 377
|
|
379: 11(fvec4) CompositeExtract 378 1
|
|
Store 13(texel) 379
|
|
380: 6(int) CompositeExtract 378 0
|
|
381: 6(int) Load 8(resident)
|
|
382: 6(int) BitwiseOr 381 380
|
|
Store 8(resident) 382
|
|
386: 383 Load 385(i2D)
|
|
389: 143(ivec2) Load 388(ic2)
|
|
390: 35(ResType) ImageSparseRead 386 389
|
|
391: 11(fvec4) CompositeExtract 390 1
|
|
Store 13(texel) 391
|
|
392: 6(int) CompositeExtract 390 0
|
|
393: 6(int) Load 8(resident)
|
|
394: 6(int) BitwiseOr 393 392
|
|
Store 8(resident) 394
|
|
398: 395 Load 397(ii3D)
|
|
401: 129(ivec3) Load 400(ic3)
|
|
402: 62(ResType) ImageSparseRead 398 401
|
|
403: 16(ivec4) CompositeExtract 402 1
|
|
Store 18(itexel) 403
|
|
404: 6(int) CompositeExtract 402 0
|
|
405: 6(int) Load 8(resident)
|
|
406: 6(int) BitwiseOr 405 404
|
|
Store 8(resident) 406
|
|
410: 407 Load 409(i2DMS)
|
|
411: 143(ivec2) Load 388(ic2)
|
|
412: 35(ResType) ImageSparseRead 410 411 Sample 144
|
|
413: 11(fvec4) CompositeExtract 412 1
|
|
Store 13(texel) 413
|
|
414: 6(int) CompositeExtract 412 0
|
|
415: 6(int) Load 8(resident)
|
|
416: 6(int) BitwiseOr 415 414
|
|
Store 8(resident) 416
|
|
420: 6(int) Load 8(resident)
|
|
422: 421(bool) ImageSparseTexelsResident 420
|
|
SelectionMerge 424 None
|
|
BranchConditional 422 423 426
|
|
423: Label
|
|
425: 11(fvec4) Load 13(texel)
|
|
Store 419 425
|
|
Branch 424
|
|
426: Label
|
|
427: 16(ivec4) Load 18(itexel)
|
|
428: 11(fvec4) ConvertSToF 427
|
|
429: 21(ivec4) Load 23(utexel)
|
|
430: 11(fvec4) ConvertUToF 429
|
|
431: 11(fvec4) FAdd 428 430
|
|
Store 419 431
|
|
Branch 424
|
|
424: Label
|
|
432: 11(fvec4) Load 419
|
|
Store 418(outColor) 432
|
|
Return
|
|
FunctionEnd
|