blob: ef6356575c6c0f4bbe04734a4deb89bb004316b7 [file] [log] [blame]
spv.newTexture.frag
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
Linked fragment stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 255
Source GLSL 430
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginLowerLeft
Name 4 "main"
Name 9 "v"
Name 13 "s2D"
Name 17 "c2D"
Name 23 "s3D"
Name 26 "c4D"
Name 34 "s2DArray"
Name 38 "c3D"
Name 47 "s2DShadow"
Name 55 "c1D"
Name 67 "ic3D"
Name 70 "ic1D"
Name 77 "ic2D"
Name 102 "sCube"
Name 113 "s2DArrayShadow"
Name 141 "iv"
Name 145 "is2D"
Name 180 "is3D"
Name 192 "isCube"
Name 204 "is2DArray"
Name 214 "iv2"
Name 218 "sCubeShadow"
Name 223 "FragData"
Name 235 "is2Dms"
Name 240 "us2D"
Name 244 "us3D"
Name 248 "usCube"
Name 252 "us2DArray"
Name 254 "ic4D"
Decorate 17(c2D) Smooth
Decorate 26(c4D) Smooth
Decorate 38(c3D) Smooth
Decorate 55(c1D) Smooth
Decorate 67(ic3D) Flat
Decorate 70(ic1D) Flat
Decorate 77(ic2D) Flat
Decorate 235(is2Dms) NoStaticUse
Decorate 240(us2D) NoStaticUse
Decorate 244(us3D) NoStaticUse
Decorate 248(usCube) NoStaticUse
Decorate 252(us2DArray) NoStaticUse
Decorate 254(ic4D) Flat
Decorate 254(ic4D) NoStaticUse
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
10: TypeImage 6(float) 2D sampled format:Unknown
11: TypeSampledImage 10
12: TypePointer UniformConstant 11
13(s2D): 12(ptr) Variable UniformConstant
15: TypeVector 6(float) 2
16: TypePointer Input 15(fvec2)
17(c2D): 16(ptr) Variable Input
20: TypeImage 6(float) 3D sampled format:Unknown
21: TypeSampledImage 20
22: TypePointer UniformConstant 21
23(s3D): 22(ptr) Variable UniformConstant
25: TypePointer Input 7(fvec4)
26(c4D): 25(ptr) Variable Input
31: TypeImage 6(float) 2D array sampled format:Unknown
32: TypeSampledImage 31
33: TypePointer UniformConstant 32
34(s2DArray): 33(ptr) Variable UniformConstant
36: TypeVector 6(float) 3
37: TypePointer Input 36(fvec3)
38(c3D): 37(ptr) Variable Input
40: 6(float) Constant 1067030938
44: TypeImage 6(float) 2D depth sampled format:Unknown
45: TypeSampledImage 44
46: TypePointer UniformConstant 45
47(s2DShadow): 46(ptr) Variable UniformConstant
50: TypeInt 32 1
51: TypeVector 50(int) 2
52: 50(int) Constant 3
53: 51(ivec2) ConstantComposite 52 52
54: TypePointer Input 6(float)
55(c1D): 54(ptr) Variable Input
65: TypeVector 50(int) 3
66: TypePointer Input 65(ivec3)
67(ic3D): 66(ptr) Variable Input
69: TypePointer Input 50(int)
70(ic1D): 69(ptr) Variable Input
76: TypePointer Input 51(ivec2)
77(ic2D): 76(ptr) Variable Input
79: 50(int) Constant 4
99: TypeImage 6(float) Cube sampled format:Unknown
100: TypeSampledImage 99
101: TypePointer UniformConstant 100
102(sCube): 101(ptr) Variable UniformConstant
110: TypeImage 6(float) 2D depth array sampled format:Unknown
111: TypeSampledImage 110
112: TypePointer UniformConstant 111
113(s2DArrayShadow): 112(ptr) Variable UniformConstant
139: TypeVector 50(int) 4
140: TypePointer Function 139(ivec4)
142: TypeImage 50(int) 2D sampled format:Unknown
143: TypeSampledImage 142
144: TypePointer UniformConstant 143
145(is2D): 144(ptr) Variable UniformConstant
177: TypeImage 50(int) 3D sampled format:Unknown
178: TypeSampledImage 177
179: TypePointer UniformConstant 178
180(is3D): 179(ptr) Variable UniformConstant
183: 6(float) Constant 1082549862
189: TypeImage 50(int) Cube sampled format:Unknown
190: TypeSampledImage 189
191: TypePointer UniformConstant 190
192(isCube): 191(ptr) Variable UniformConstant
201: TypeImage 50(int) 2D array sampled format:Unknown
202: TypeSampledImage 201
203: TypePointer UniformConstant 202
204(is2DArray): 203(ptr) Variable UniformConstant
213: TypePointer Function 51(ivec2)
215: TypeImage 6(float) Cube depth sampled format:Unknown
216: TypeSampledImage 215
217: TypePointer UniformConstant 216
218(sCubeShadow): 217(ptr) Variable UniformConstant
220: 50(int) Constant 2
222: TypePointer Output 7(fvec4)
223(FragData): 222(ptr) Variable Output
227: 6(float) Constant 0
232: TypeImage 50(int) 2D multi-sampled sampled format:Unknown
233: TypeSampledImage 232
234: TypePointer UniformConstant 233
235(is2Dms): 234(ptr) Variable UniformConstant
236: TypeInt 32 0
237: TypeImage 236(int) 2D sampled format:Unknown
238: TypeSampledImage 237
239: TypePointer UniformConstant 238
240(us2D): 239(ptr) Variable UniformConstant
241: TypeImage 236(int) 3D sampled format:Unknown
242: TypeSampledImage 241
243: TypePointer UniformConstant 242
244(us3D): 243(ptr) Variable UniformConstant
245: TypeImage 236(int) Cube sampled format:Unknown
246: TypeSampledImage 245
247: TypePointer UniformConstant 246
248(usCube): 247(ptr) Variable UniformConstant
249: TypeImage 236(int) 2D array sampled format:Unknown
250: TypeSampledImage 249
251: TypePointer UniformConstant 250
252(us2DArray): 251(ptr) Variable UniformConstant
253: TypePointer Input 139(ivec4)
254(ic4D): 253(ptr) Variable Input
4(main): 2 Function None 3
5: Label
9(v): 8(ptr) Variable Function
141(iv): 140(ptr) Variable Function
214(iv2): 213(ptr) Variable Function
14: 11 Load 13(s2D)
18: 15(fvec2) Load 17(c2D)
19: 7(fvec4) ImageSampleImplicitLod 14 18
Store 9(v) 19
24: 21 Load 23(s3D)
27: 7(fvec4) Load 26(c4D)
28: 7(fvec4) ImageSampleProjImplicitLod 24 27
29: 7(fvec4) Load 9(v)
30: 7(fvec4) FAdd 29 28
Store 9(v) 30
35: 32 Load 34(s2DArray)
39: 36(fvec3) Load 38(c3D)
41: 7(fvec4) ImageSampleExplicitLod 35 39 40
42: 7(fvec4) Load 9(v)
43: 7(fvec4) FAdd 42 41
Store 9(v) 43
48: 45 Load 47(s2DShadow)
49: 36(fvec3) Load 38(c3D)
56: 6(float) Load 55(c1D)
57: 6(float) CompositeExtract 49 2
58: 6(float) ImageSampleDrefImplicitLod 48 49 57 56 53
59: 7(fvec4) Load 9(v)
60: 6(float) CompositeExtract 59 1
61: 6(float) FAdd 60 58
62: 7(fvec4) Load 9(v)
63: 7(fvec4) CompositeInsert 61 62 1
Store 9(v) 63
64: 21 Load 23(s3D)
68: 65(ivec3) Load 67(ic3D)
71: 50(int) Load 70(ic1D)
72: 7(fvec4) ImageFetch 64 68
73: 7(fvec4) Load 9(v)
74: 7(fvec4) FAdd 73 72
Store 9(v) 74
75: 11 Load 13(s2D)
78: 51(ivec2) Load 77(ic2D)
80: 7(fvec4) ImageFetch 75 78 79
81: 7(fvec4) Load 9(v)
82: 7(fvec4) FAdd 81 80
Store 9(v) 82
83: 45 Load 47(s2DShadow)
84: 36(fvec3) Load 38(c3D)
85: 6(float) Load 55(c1D)
86: 6(float) CompositeExtract 84 2
87: 6(float) ImageSampleDrefExplicitLod 83 84 86 85 53
88: 7(fvec4) Load 9(v)
89: 6(float) CompositeExtract 88 1
90: 6(float) FAdd 89 87
91: 7(fvec4) Load 9(v)
92: 7(fvec4) CompositeInsert 90 91 1
Store 9(v) 92
93: 11 Load 13(s2D)
94: 36(fvec3) Load 38(c3D)
95: 6(float) Load 55(c1D)
96: 7(fvec4) ImageSampleProjExplicitLod 93 94 95 53
97: 7(fvec4) Load 9(v)
98: 7(fvec4) FAdd 97 96
Store 9(v) 98
103: 100 Load 102(sCube)
104: 36(fvec3) Load 38(c3D)
105: 36(fvec3) Load 38(c3D)
106: 36(fvec3) Load 38(c3D)
107: 7(fvec4) ImageSampleExplicitLod 103 104 105 106
108: 7(fvec4) Load 9(v)
109: 7(fvec4) FAdd 108 107
Store 9(v) 109
114: 111 Load 113(s2DArrayShadow)
115: 7(fvec4) Load 26(c4D)
116: 15(fvec2) Load 17(c2D)
117: 15(fvec2) Load 17(c2D)
118: 6(float) CompositeExtract 115 3
119: 6(float) ImageSampleDrefExplicitLod 114 115 118 116 117 53
120: 7(fvec4) Load 9(v)
121: 6(float) CompositeExtract 120 0
122: 6(float) FAdd 121 119
123: 7(fvec4) Load 9(v)
124: 7(fvec4) CompositeInsert 122 123 0
Store 9(v) 124
125: 21 Load 23(s3D)
126: 7(fvec4) Load 26(c4D)
127: 36(fvec3) Load 38(c3D)
128: 36(fvec3) Load 38(c3D)
129: 7(fvec4) ImageSampleProjExplicitLod 125 126 127 128
130: 7(fvec4) Load 9(v)
131: 7(fvec4) FAdd 130 129
Store 9(v) 131
132: 11 Load 13(s2D)
133: 36(fvec3) Load 38(c3D)
134: 15(fvec2) Load 17(c2D)
135: 15(fvec2) Load 17(c2D)
136: 7(fvec4) ImageSampleProjExplicitLod 132 133 134 135 53
137: 7(fvec4) Load 9(v)
138: 7(fvec4) FAdd 137 136
Store 9(v) 138
146: 143 Load 145(is2D)
147: 15(fvec2) Load 17(c2D)
148: 139(ivec4) ImageSampleImplicitLod 146 147
Store 141(iv) 148
149: 139(ivec4) Load 141(iv)
150: 7(fvec4) ConvertSToF 149
151: 7(fvec4) Load 9(v)
152: 7(fvec4) FAdd 151 150
Store 9(v) 152
153: 143 Load 145(is2D)
154: 7(fvec4) Load 26(c4D)
155: 139(ivec4) ImageSampleProjImplicitLod 153 154 53
Store 141(iv) 155
156: 139(ivec4) Load 141(iv)
157: 7(fvec4) ConvertSToF 156
158: 7(fvec4) Load 9(v)
159: 7(fvec4) FAdd 158 157
Store 9(v) 159
160: 143 Load 145(is2D)
161: 36(fvec3) Load 38(c3D)
162: 6(float) Load 55(c1D)
163: 139(ivec4) ImageSampleProjExplicitLod 160 161 162
Store 141(iv) 163
164: 139(ivec4) Load 141(iv)
165: 7(fvec4) ConvertSToF 164
166: 7(fvec4) Load 9(v)
167: 7(fvec4) FAdd 166 165
Store 9(v) 167
168: 143 Load 145(is2D)
169: 36(fvec3) Load 38(c3D)
170: 15(fvec2) Load 17(c2D)
171: 15(fvec2) Load 17(c2D)
172: 139(ivec4) ImageSampleProjExplicitLod 168 169 170 171
Store 141(iv) 172
173: 139(ivec4) Load 141(iv)
174: 7(fvec4) ConvertSToF 173
175: 7(fvec4) Load 9(v)
176: 7(fvec4) FAdd 175 174
Store 9(v) 176
181: 178 Load 180(is3D)
182: 36(fvec3) Load 38(c3D)
184: 139(ivec4) ImageSampleImplicitLod 181 182 183
Store 141(iv) 184
185: 139(ivec4) Load 141(iv)
186: 7(fvec4) ConvertSToF 185
187: 7(fvec4) Load 9(v)
188: 7(fvec4) FAdd 187 186
Store 9(v) 188
193: 190 Load 192(isCube)
194: 36(fvec3) Load 38(c3D)
195: 6(float) Load 55(c1D)
196: 139(ivec4) ImageSampleExplicitLod 193 194 195
Store 141(iv) 196
197: 139(ivec4) Load 141(iv)
198: 7(fvec4) ConvertSToF 197
199: 7(fvec4) Load 9(v)
200: 7(fvec4) FAdd 199 198
Store 9(v) 200
205: 202 Load 204(is2DArray)
206: 65(ivec3) Load 67(ic3D)
207: 50(int) Load 70(ic1D)
208: 139(ivec4) ImageFetch 205 206
Store 141(iv) 208
209: 139(ivec4) Load 141(iv)
210: 7(fvec4) ConvertSToF 209
211: 7(fvec4) Load 9(v)
212: 7(fvec4) FAdd 211 210
Store 9(v) 212
219: 216 Load 218(sCubeShadow)
221: 51(ivec2) ImageQuerySizeLod 219 220
Store 214(iv2) 221
224: 7(fvec4) Load 9(v)
225: 51(ivec2) Load 214(iv2)
226: 15(fvec2) ConvertSToF 225
228: 6(float) CompositeExtract 226 0
229: 6(float) CompositeExtract 226 1
230: 7(fvec4) CompositeConstruct 228 229 227 227
231: 7(fvec4) FAdd 224 230
Store 223(FragData) 231
Return
FunctionEnd