glslang/Test/baseResults/spv.newTexture.frag.out

346 lines
17 KiB
Plaintext
Executable File

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 10000
// Generated by (magic number): 80001
// Id's are bound by 265
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 55 17 38 26 72 79 69 264 234
ExecutionMode 4 OriginLowerLeft
Source GLSL 430
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 69 "ic3D"
Name 72 "ic1D"
Name 79 "ic2D"
Name 88 "sr"
Name 113 "sCube"
Name 124 "s2DArrayShadow"
Name 152 "iv"
Name 156 "is2D"
Name 191 "is3D"
Name 203 "isCube"
Name 215 "is2DArray"
Name 225 "iv2"
Name 229 "sCubeShadow"
Name 234 "FragData"
Name 246 "is2Dms"
Name 250 "us2D"
Name 254 "us3D"
Name 258 "usCube"
Name 262 "us2DArray"
Name 264 "ic4D"
Decorate 69(ic3D) Flat
Decorate 72(ic1D) Flat
Decorate 79(ic2D) Flat
Decorate 264(ic4D) Flat
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
59: TypeInt 32 0
60: 59(int) Constant 1
61: TypePointer Function 6(float)
67: TypeVector 50(int) 3
68: TypePointer Input 67(ivec3)
69(ic3D): 68(ptr) Variable Input
71: TypePointer Input 50(int)
72(ic1D): 71(ptr) Variable Input
78: TypePointer Input 51(ivec2)
79(ic2D): 78(ptr) Variable Input
81: 50(int) Constant 4
85: TypeImage 6(float) Rect sampled format:Unknown
86: TypeSampledImage 85
87: TypePointer UniformConstant 86
88(sr): 87(ptr) Variable UniformConstant
91: 51(ivec2) ConstantComposite 81 81
110: TypeImage 6(float) Cube sampled format:Unknown
111: TypeSampledImage 110
112: TypePointer UniformConstant 111
113(sCube): 112(ptr) Variable UniformConstant
121: TypeImage 6(float) 2D depth array sampled format:Unknown
122: TypeSampledImage 121
123: TypePointer UniformConstant 122
124(s2DArrayShadow): 123(ptr) Variable UniformConstant
131: 59(int) Constant 0
150: TypeVector 50(int) 4
151: TypePointer Function 150(ivec4)
153: TypeImage 50(int) 2D sampled format:Unknown
154: TypeSampledImage 153
155: TypePointer UniformConstant 154
156(is2D): 155(ptr) Variable UniformConstant
188: TypeImage 50(int) 3D sampled format:Unknown
189: TypeSampledImage 188
190: TypePointer UniformConstant 189
191(is3D): 190(ptr) Variable UniformConstant
194: 6(float) Constant 1082549862
200: TypeImage 50(int) Cube sampled format:Unknown
201: TypeSampledImage 200
202: TypePointer UniformConstant 201
203(isCube): 202(ptr) Variable UniformConstant
212: TypeImage 50(int) 2D array sampled format:Unknown
213: TypeSampledImage 212
214: TypePointer UniformConstant 213
215(is2DArray): 214(ptr) Variable UniformConstant
224: TypePointer Function 51(ivec2)
226: TypeImage 6(float) Cube depth sampled format:Unknown
227: TypeSampledImage 226
228: TypePointer UniformConstant 227
229(sCubeShadow): 228(ptr) Variable UniformConstant
231: 50(int) Constant 2
233: TypePointer Output 7(fvec4)
234(FragData): 233(ptr) Variable Output
238: 6(float) Constant 0
243: TypeImage 50(int) 2D multi-sampled sampled format:Unknown
244: TypeSampledImage 243
245: TypePointer UniformConstant 244
246(is2Dms): 245(ptr) Variable UniformConstant
247: TypeImage 59(int) 2D sampled format:Unknown
248: TypeSampledImage 247
249: TypePointer UniformConstant 248
250(us2D): 249(ptr) Variable UniformConstant
251: TypeImage 59(int) 3D sampled format:Unknown
252: TypeSampledImage 251
253: TypePointer UniformConstant 252
254(us3D): 253(ptr) Variable UniformConstant
255: TypeImage 59(int) Cube sampled format:Unknown
256: TypeSampledImage 255
257: TypePointer UniformConstant 256
258(usCube): 257(ptr) Variable UniformConstant
259: TypeImage 59(int) 2D array sampled format:Unknown
260: TypeSampledImage 259
261: TypePointer UniformConstant 260
262(us2DArray): 261(ptr) Variable UniformConstant
263: TypePointer Input 150(ivec4)
264(ic4D): 263(ptr) Variable Input
4(main): 2 Function None 3
5: Label
9(v): 8(ptr) Variable Function
152(iv): 151(ptr) Variable Function
225(iv2): 224(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 Lod 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 Bias ConstOffset 56 53
62: 61(ptr) AccessChain 9(v) 60
63: 6(float) Load 62
64: 6(float) FAdd 63 58
65: 61(ptr) AccessChain 9(v) 60
Store 65 64
66: 21 Load 23(s3D)
70: 67(ivec3) Load 69(ic3D)
73: 50(int) Load 72(ic1D)
74: 7(fvec4) ImageFetch 66 70 Lod 73
75: 7(fvec4) Load 9(v)
76: 7(fvec4) FAdd 75 74
Store 9(v) 76
77: 11 Load 13(s2D)
80: 51(ivec2) Load 79(ic2D)
82: 7(fvec4) ImageFetch 77 80 Lod ConstOffset 81 53
83: 7(fvec4) Load 9(v)
84: 7(fvec4) FAdd 83 82
Store 9(v) 84
89: 86 Load 88(sr)
90: 51(ivec2) Load 79(ic2D)
92: 7(fvec4) ImageFetch 89 90 ConstOffset 91
93: 7(fvec4) Load 9(v)
94: 7(fvec4) FAdd 93 92
Store 9(v) 94
95: 45 Load 47(s2DShadow)
96: 36(fvec3) Load 38(c3D)
97: 6(float) Load 55(c1D)
98: 6(float) CompositeExtract 96 2
99: 6(float) ImageSampleDrefExplicitLod 95 96 98 Lod ConstOffset 97 53
100: 61(ptr) AccessChain 9(v) 60
101: 6(float) Load 100
102: 6(float) FAdd 101 99
103: 61(ptr) AccessChain 9(v) 60
Store 103 102
104: 11 Load 13(s2D)
105: 36(fvec3) Load 38(c3D)
106: 6(float) Load 55(c1D)
107: 7(fvec4) ImageSampleProjExplicitLod 104 105 Lod ConstOffset 106 53
108: 7(fvec4) Load 9(v)
109: 7(fvec4) FAdd 108 107
Store 9(v) 109
114: 111 Load 113(sCube)
115: 36(fvec3) Load 38(c3D)
116: 36(fvec3) Load 38(c3D)
117: 36(fvec3) Load 38(c3D)
118: 7(fvec4) ImageSampleExplicitLod 114 115 Grad 116 117
119: 7(fvec4) Load 9(v)
120: 7(fvec4) FAdd 119 118
Store 9(v) 120
125: 122 Load 124(s2DArrayShadow)
126: 7(fvec4) Load 26(c4D)
127: 15(fvec2) Load 17(c2D)
128: 15(fvec2) Load 17(c2D)
129: 6(float) CompositeExtract 126 3
130: 6(float) ImageSampleDrefExplicitLod 125 126 129 Grad ConstOffset 127 128 53
132: 61(ptr) AccessChain 9(v) 131
133: 6(float) Load 132
134: 6(float) FAdd 133 130
135: 61(ptr) AccessChain 9(v) 131
Store 135 134
136: 21 Load 23(s3D)
137: 7(fvec4) Load 26(c4D)
138: 36(fvec3) Load 38(c3D)
139: 36(fvec3) Load 38(c3D)
140: 7(fvec4) ImageSampleProjExplicitLod 136 137 Grad 138 139
141: 7(fvec4) Load 9(v)
142: 7(fvec4) FAdd 141 140
Store 9(v) 142
143: 11 Load 13(s2D)
144: 36(fvec3) Load 38(c3D)
145: 15(fvec2) Load 17(c2D)
146: 15(fvec2) Load 17(c2D)
147: 7(fvec4) ImageSampleProjExplicitLod 143 144 Grad ConstOffset 145 146 53
148: 7(fvec4) Load 9(v)
149: 7(fvec4) FAdd 148 147
Store 9(v) 149
157: 154 Load 156(is2D)
158: 15(fvec2) Load 17(c2D)
159: 150(ivec4) ImageSampleImplicitLod 157 158
Store 152(iv) 159
160: 150(ivec4) Load 152(iv)
161: 7(fvec4) ConvertSToF 160
162: 7(fvec4) Load 9(v)
163: 7(fvec4) FAdd 162 161
Store 9(v) 163
164: 154 Load 156(is2D)
165: 7(fvec4) Load 26(c4D)
166: 150(ivec4) ImageSampleProjImplicitLod 164 165 ConstOffset 53
Store 152(iv) 166
167: 150(ivec4) Load 152(iv)
168: 7(fvec4) ConvertSToF 167
169: 7(fvec4) Load 9(v)
170: 7(fvec4) FAdd 169 168
Store 9(v) 170
171: 154 Load 156(is2D)
172: 36(fvec3) Load 38(c3D)
173: 6(float) Load 55(c1D)
174: 150(ivec4) ImageSampleProjExplicitLod 171 172 Lod 173
Store 152(iv) 174
175: 150(ivec4) Load 152(iv)
176: 7(fvec4) ConvertSToF 175
177: 7(fvec4) Load 9(v)
178: 7(fvec4) FAdd 177 176
Store 9(v) 178
179: 154 Load 156(is2D)
180: 36(fvec3) Load 38(c3D)
181: 15(fvec2) Load 17(c2D)
182: 15(fvec2) Load 17(c2D)
183: 150(ivec4) ImageSampleProjExplicitLod 179 180 Grad 181 182
Store 152(iv) 183
184: 150(ivec4) Load 152(iv)
185: 7(fvec4) ConvertSToF 184
186: 7(fvec4) Load 9(v)
187: 7(fvec4) FAdd 186 185
Store 9(v) 187
192: 189 Load 191(is3D)
193: 36(fvec3) Load 38(c3D)
195: 150(ivec4) ImageSampleImplicitLod 192 193 Bias 194
Store 152(iv) 195
196: 150(ivec4) Load 152(iv)
197: 7(fvec4) ConvertSToF 196
198: 7(fvec4) Load 9(v)
199: 7(fvec4) FAdd 198 197
Store 9(v) 199
204: 201 Load 203(isCube)
205: 36(fvec3) Load 38(c3D)
206: 6(float) Load 55(c1D)
207: 150(ivec4) ImageSampleExplicitLod 204 205 Lod 206
Store 152(iv) 207
208: 150(ivec4) Load 152(iv)
209: 7(fvec4) ConvertSToF 208
210: 7(fvec4) Load 9(v)
211: 7(fvec4) FAdd 210 209
Store 9(v) 211
216: 213 Load 215(is2DArray)
217: 67(ivec3) Load 69(ic3D)
218: 50(int) Load 72(ic1D)
219: 150(ivec4) ImageFetch 216 217 Lod 218
Store 152(iv) 219
220: 150(ivec4) Load 152(iv)
221: 7(fvec4) ConvertSToF 220
222: 7(fvec4) Load 9(v)
223: 7(fvec4) FAdd 222 221
Store 9(v) 223
230: 227 Load 229(sCubeShadow)
232: 51(ivec2) ImageQuerySizeLod 230 231
Store 225(iv2) 232
235: 7(fvec4) Load 9(v)
236: 51(ivec2) Load 225(iv2)
237: 15(fvec2) ConvertSToF 236
239: 6(float) CompositeExtract 237 0
240: 6(float) CompositeExtract 237 1
241: 7(fvec4) CompositeConstruct 239 240 238 238
242: 7(fvec4) FAdd 235 241
Store 234(FragData) 242
Return
FunctionEnd