mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-29 22:53:17 +00:00
b0364dcc3e
SampledBuffer ImageBuffer Sampled1D Image1D SampledCubeArray ImageCubeArray SampledRect ImageRect InputAttachment ImageMSArray StorageImageMultisample
363 lines
18 KiB
Plaintext
Executable File
363 lines
18 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 278
|
|
|
|
Capability Shader
|
|
Capability SampledRect
|
|
Capability SampledCubeArray
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 17 26 29 55 81 84 91 247 277
|
|
ExecutionMode 4 OriginLowerLeft
|
|
Source GLSL 430
|
|
Name 4 "main"
|
|
Name 9 "v"
|
|
Name 13 "s2D"
|
|
Name 17 "c2D"
|
|
Name 23 "sCubeArrayShadow"
|
|
Name 26 "c4D"
|
|
Name 29 "c1D"
|
|
Name 42 "s3D"
|
|
Name 51 "s2DArray"
|
|
Name 55 "c3D"
|
|
Name 64 "s2DShadow"
|
|
Name 81 "ic3D"
|
|
Name 84 "ic1D"
|
|
Name 91 "ic2D"
|
|
Name 100 "sr"
|
|
Name 125 "sCube"
|
|
Name 136 "s2DArrayShadow"
|
|
Name 164 "iv"
|
|
Name 168 "is2D"
|
|
Name 203 "is3D"
|
|
Name 215 "isCube"
|
|
Name 227 "is2DArray"
|
|
Name 237 "iv2"
|
|
Name 241 "sCubeShadow"
|
|
Name 247 "FragData"
|
|
Name 259 "is2Dms"
|
|
Name 263 "us2D"
|
|
Name 267 "us3D"
|
|
Name 271 "usCube"
|
|
Name 275 "us2DArray"
|
|
Name 277 "ic4D"
|
|
Decorate 81(ic3D) Flat
|
|
Decorate 84(ic1D) Flat
|
|
Decorate 91(ic2D) Flat
|
|
Decorate 277(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) Cube depth array sampled format:Unknown
|
|
21: TypeSampledImage 20
|
|
22: TypePointer UniformConstant 21
|
|
23(sCubeArrayShadow): 22(ptr) Variable UniformConstant
|
|
25: TypePointer Input 7(fvec4)
|
|
26(c4D): 25(ptr) Variable Input
|
|
28: TypePointer Input 6(float)
|
|
29(c1D): 28(ptr) Variable Input
|
|
32: TypeInt 32 0
|
|
33: 32(int) Constant 1
|
|
34: TypePointer Function 6(float)
|
|
39: TypeImage 6(float) 3D sampled format:Unknown
|
|
40: TypeSampledImage 39
|
|
41: TypePointer UniformConstant 40
|
|
42(s3D): 41(ptr) Variable UniformConstant
|
|
48: TypeImage 6(float) 2D array sampled format:Unknown
|
|
49: TypeSampledImage 48
|
|
50: TypePointer UniformConstant 49
|
|
51(s2DArray): 50(ptr) Variable UniformConstant
|
|
53: TypeVector 6(float) 3
|
|
54: TypePointer Input 53(fvec3)
|
|
55(c3D): 54(ptr) Variable Input
|
|
57: 6(float) Constant 1067030938
|
|
61: TypeImage 6(float) 2D depth sampled format:Unknown
|
|
62: TypeSampledImage 61
|
|
63: TypePointer UniformConstant 62
|
|
64(s2DShadow): 63(ptr) Variable UniformConstant
|
|
67: TypeInt 32 1
|
|
68: TypeVector 67(int) 2
|
|
69: 67(int) Constant 3
|
|
70: 68(ivec2) ConstantComposite 69 69
|
|
79: TypeVector 67(int) 3
|
|
80: TypePointer Input 79(ivec3)
|
|
81(ic3D): 80(ptr) Variable Input
|
|
83: TypePointer Input 67(int)
|
|
84(ic1D): 83(ptr) Variable Input
|
|
90: TypePointer Input 68(ivec2)
|
|
91(ic2D): 90(ptr) Variable Input
|
|
93: 67(int) Constant 4
|
|
97: TypeImage 6(float) Rect sampled format:Unknown
|
|
98: TypeSampledImage 97
|
|
99: TypePointer UniformConstant 98
|
|
100(sr): 99(ptr) Variable UniformConstant
|
|
103: 68(ivec2) ConstantComposite 93 93
|
|
122: TypeImage 6(float) Cube sampled format:Unknown
|
|
123: TypeSampledImage 122
|
|
124: TypePointer UniformConstant 123
|
|
125(sCube): 124(ptr) Variable UniformConstant
|
|
133: TypeImage 6(float) 2D depth array sampled format:Unknown
|
|
134: TypeSampledImage 133
|
|
135: TypePointer UniformConstant 134
|
|
136(s2DArrayShadow): 135(ptr) Variable UniformConstant
|
|
143: 32(int) Constant 0
|
|
162: TypeVector 67(int) 4
|
|
163: TypePointer Function 162(ivec4)
|
|
165: TypeImage 67(int) 2D sampled format:Unknown
|
|
166: TypeSampledImage 165
|
|
167: TypePointer UniformConstant 166
|
|
168(is2D): 167(ptr) Variable UniformConstant
|
|
200: TypeImage 67(int) 3D sampled format:Unknown
|
|
201: TypeSampledImage 200
|
|
202: TypePointer UniformConstant 201
|
|
203(is3D): 202(ptr) Variable UniformConstant
|
|
206: 6(float) Constant 1082549862
|
|
212: TypeImage 67(int) Cube sampled format:Unknown
|
|
213: TypeSampledImage 212
|
|
214: TypePointer UniformConstant 213
|
|
215(isCube): 214(ptr) Variable UniformConstant
|
|
224: TypeImage 67(int) 2D array sampled format:Unknown
|
|
225: TypeSampledImage 224
|
|
226: TypePointer UniformConstant 225
|
|
227(is2DArray): 226(ptr) Variable UniformConstant
|
|
236: TypePointer Function 68(ivec2)
|
|
238: TypeImage 6(float) Cube depth sampled format:Unknown
|
|
239: TypeSampledImage 238
|
|
240: TypePointer UniformConstant 239
|
|
241(sCubeShadow): 240(ptr) Variable UniformConstant
|
|
243: 67(int) Constant 2
|
|
246: TypePointer Output 7(fvec4)
|
|
247(FragData): 246(ptr) Variable Output
|
|
251: 6(float) Constant 0
|
|
256: TypeImage 67(int) 2D multi-sampled sampled format:Unknown
|
|
257: TypeSampledImage 256
|
|
258: TypePointer UniformConstant 257
|
|
259(is2Dms): 258(ptr) Variable UniformConstant
|
|
260: TypeImage 32(int) 2D sampled format:Unknown
|
|
261: TypeSampledImage 260
|
|
262: TypePointer UniformConstant 261
|
|
263(us2D): 262(ptr) Variable UniformConstant
|
|
264: TypeImage 32(int) 3D sampled format:Unknown
|
|
265: TypeSampledImage 264
|
|
266: TypePointer UniformConstant 265
|
|
267(us3D): 266(ptr) Variable UniformConstant
|
|
268: TypeImage 32(int) Cube sampled format:Unknown
|
|
269: TypeSampledImage 268
|
|
270: TypePointer UniformConstant 269
|
|
271(usCube): 270(ptr) Variable UniformConstant
|
|
272: TypeImage 32(int) 2D array sampled format:Unknown
|
|
273: TypeSampledImage 272
|
|
274: TypePointer UniformConstant 273
|
|
275(us2DArray): 274(ptr) Variable UniformConstant
|
|
276: TypePointer Input 162(ivec4)
|
|
277(ic4D): 276(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
9(v): 8(ptr) Variable Function
|
|
164(iv): 163(ptr) Variable Function
|
|
237(iv2): 236(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(sCubeArrayShadow)
|
|
27: 7(fvec4) Load 26(c4D)
|
|
30: 6(float) Load 29(c1D)
|
|
31: 6(float) ImageSampleDrefImplicitLod 24 27 30
|
|
35: 34(ptr) AccessChain 9(v) 33
|
|
36: 6(float) Load 35
|
|
37: 6(float) FAdd 36 31
|
|
38: 34(ptr) AccessChain 9(v) 33
|
|
Store 38 37
|
|
43: 40 Load 42(s3D)
|
|
44: 7(fvec4) Load 26(c4D)
|
|
45: 7(fvec4) ImageSampleProjImplicitLod 43 44
|
|
46: 7(fvec4) Load 9(v)
|
|
47: 7(fvec4) FAdd 46 45
|
|
Store 9(v) 47
|
|
52: 49 Load 51(s2DArray)
|
|
56: 53(fvec3) Load 55(c3D)
|
|
58: 7(fvec4) ImageSampleExplicitLod 52 56 Lod 57
|
|
59: 7(fvec4) Load 9(v)
|
|
60: 7(fvec4) FAdd 59 58
|
|
Store 9(v) 60
|
|
65: 62 Load 64(s2DShadow)
|
|
66: 53(fvec3) Load 55(c3D)
|
|
71: 6(float) Load 29(c1D)
|
|
72: 6(float) CompositeExtract 66 2
|
|
73: 6(float) ImageSampleDrefImplicitLod 65 66 72 Bias ConstOffset 71 70
|
|
74: 34(ptr) AccessChain 9(v) 33
|
|
75: 6(float) Load 74
|
|
76: 6(float) FAdd 75 73
|
|
77: 34(ptr) AccessChain 9(v) 33
|
|
Store 77 76
|
|
78: 40 Load 42(s3D)
|
|
82: 79(ivec3) Load 81(ic3D)
|
|
85: 67(int) Load 84(ic1D)
|
|
86: 7(fvec4) ImageFetch 78 82 Lod 85
|
|
87: 7(fvec4) Load 9(v)
|
|
88: 7(fvec4) FAdd 87 86
|
|
Store 9(v) 88
|
|
89: 11 Load 13(s2D)
|
|
92: 68(ivec2) Load 91(ic2D)
|
|
94: 7(fvec4) ImageFetch 89 92 Lod ConstOffset 93 70
|
|
95: 7(fvec4) Load 9(v)
|
|
96: 7(fvec4) FAdd 95 94
|
|
Store 9(v) 96
|
|
101: 98 Load 100(sr)
|
|
102: 68(ivec2) Load 91(ic2D)
|
|
104: 7(fvec4) ImageFetch 101 102 ConstOffset 103
|
|
105: 7(fvec4) Load 9(v)
|
|
106: 7(fvec4) FAdd 105 104
|
|
Store 9(v) 106
|
|
107: 62 Load 64(s2DShadow)
|
|
108: 53(fvec3) Load 55(c3D)
|
|
109: 6(float) Load 29(c1D)
|
|
110: 6(float) CompositeExtract 108 2
|
|
111: 6(float) ImageSampleDrefExplicitLod 107 108 110 Lod ConstOffset 109 70
|
|
112: 34(ptr) AccessChain 9(v) 33
|
|
113: 6(float) Load 112
|
|
114: 6(float) FAdd 113 111
|
|
115: 34(ptr) AccessChain 9(v) 33
|
|
Store 115 114
|
|
116: 11 Load 13(s2D)
|
|
117: 53(fvec3) Load 55(c3D)
|
|
118: 6(float) Load 29(c1D)
|
|
119: 7(fvec4) ImageSampleProjExplicitLod 116 117 Lod ConstOffset 118 70
|
|
120: 7(fvec4) Load 9(v)
|
|
121: 7(fvec4) FAdd 120 119
|
|
Store 9(v) 121
|
|
126: 123 Load 125(sCube)
|
|
127: 53(fvec3) Load 55(c3D)
|
|
128: 53(fvec3) Load 55(c3D)
|
|
129: 53(fvec3) Load 55(c3D)
|
|
130: 7(fvec4) ImageSampleExplicitLod 126 127 Grad 128 129
|
|
131: 7(fvec4) Load 9(v)
|
|
132: 7(fvec4) FAdd 131 130
|
|
Store 9(v) 132
|
|
137: 134 Load 136(s2DArrayShadow)
|
|
138: 7(fvec4) Load 26(c4D)
|
|
139: 15(fvec2) Load 17(c2D)
|
|
140: 15(fvec2) Load 17(c2D)
|
|
141: 6(float) CompositeExtract 138 3
|
|
142: 6(float) ImageSampleDrefExplicitLod 137 138 141 Grad ConstOffset 139 140 70
|
|
144: 34(ptr) AccessChain 9(v) 143
|
|
145: 6(float) Load 144
|
|
146: 6(float) FAdd 145 142
|
|
147: 34(ptr) AccessChain 9(v) 143
|
|
Store 147 146
|
|
148: 40 Load 42(s3D)
|
|
149: 7(fvec4) Load 26(c4D)
|
|
150: 53(fvec3) Load 55(c3D)
|
|
151: 53(fvec3) Load 55(c3D)
|
|
152: 7(fvec4) ImageSampleProjExplicitLod 148 149 Grad 150 151
|
|
153: 7(fvec4) Load 9(v)
|
|
154: 7(fvec4) FAdd 153 152
|
|
Store 9(v) 154
|
|
155: 11 Load 13(s2D)
|
|
156: 53(fvec3) Load 55(c3D)
|
|
157: 15(fvec2) Load 17(c2D)
|
|
158: 15(fvec2) Load 17(c2D)
|
|
159: 7(fvec4) ImageSampleProjExplicitLod 155 156 Grad ConstOffset 157 158 70
|
|
160: 7(fvec4) Load 9(v)
|
|
161: 7(fvec4) FAdd 160 159
|
|
Store 9(v) 161
|
|
169: 166 Load 168(is2D)
|
|
170: 15(fvec2) Load 17(c2D)
|
|
171: 162(ivec4) ImageSampleImplicitLod 169 170
|
|
Store 164(iv) 171
|
|
172: 162(ivec4) Load 164(iv)
|
|
173: 7(fvec4) ConvertSToF 172
|
|
174: 7(fvec4) Load 9(v)
|
|
175: 7(fvec4) FAdd 174 173
|
|
Store 9(v) 175
|
|
176: 166 Load 168(is2D)
|
|
177: 7(fvec4) Load 26(c4D)
|
|
178: 162(ivec4) ImageSampleProjImplicitLod 176 177 ConstOffset 70
|
|
Store 164(iv) 178
|
|
179: 162(ivec4) Load 164(iv)
|
|
180: 7(fvec4) ConvertSToF 179
|
|
181: 7(fvec4) Load 9(v)
|
|
182: 7(fvec4) FAdd 181 180
|
|
Store 9(v) 182
|
|
183: 166 Load 168(is2D)
|
|
184: 53(fvec3) Load 55(c3D)
|
|
185: 6(float) Load 29(c1D)
|
|
186: 162(ivec4) ImageSampleProjExplicitLod 183 184 Lod 185
|
|
Store 164(iv) 186
|
|
187: 162(ivec4) Load 164(iv)
|
|
188: 7(fvec4) ConvertSToF 187
|
|
189: 7(fvec4) Load 9(v)
|
|
190: 7(fvec4) FAdd 189 188
|
|
Store 9(v) 190
|
|
191: 166 Load 168(is2D)
|
|
192: 53(fvec3) Load 55(c3D)
|
|
193: 15(fvec2) Load 17(c2D)
|
|
194: 15(fvec2) Load 17(c2D)
|
|
195: 162(ivec4) ImageSampleProjExplicitLod 191 192 Grad 193 194
|
|
Store 164(iv) 195
|
|
196: 162(ivec4) Load 164(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(is3D)
|
|
205: 53(fvec3) Load 55(c3D)
|
|
207: 162(ivec4) ImageSampleImplicitLod 204 205 Bias 206
|
|
Store 164(iv) 207
|
|
208: 162(ivec4) Load 164(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(isCube)
|
|
217: 53(fvec3) Load 55(c3D)
|
|
218: 6(float) Load 29(c1D)
|
|
219: 162(ivec4) ImageSampleExplicitLod 216 217 Lod 218
|
|
Store 164(iv) 219
|
|
220: 162(ivec4) Load 164(iv)
|
|
221: 7(fvec4) ConvertSToF 220
|
|
222: 7(fvec4) Load 9(v)
|
|
223: 7(fvec4) FAdd 222 221
|
|
Store 9(v) 223
|
|
228: 225 Load 227(is2DArray)
|
|
229: 79(ivec3) Load 81(ic3D)
|
|
230: 67(int) Load 84(ic1D)
|
|
231: 162(ivec4) ImageFetch 228 229 Lod 230
|
|
Store 164(iv) 231
|
|
232: 162(ivec4) Load 164(iv)
|
|
233: 7(fvec4) ConvertSToF 232
|
|
234: 7(fvec4) Load 9(v)
|
|
235: 7(fvec4) FAdd 234 233
|
|
Store 9(v) 235
|
|
242: 239 Load 241(sCubeShadow)
|
|
244: 238 Image 242
|
|
245: 68(ivec2) ImageQuerySizeLod 244 243
|
|
Store 237(iv2) 245
|
|
248: 7(fvec4) Load 9(v)
|
|
249: 68(ivec2) Load 237(iv2)
|
|
250: 15(fvec2) ConvertSToF 249
|
|
252: 6(float) CompositeExtract 250 0
|
|
253: 6(float) CompositeExtract 250 1
|
|
254: 7(fvec4) CompositeConstruct 252 253 251 251
|
|
255: 7(fvec4) FAdd 248 254
|
|
Store 247(FragData) 255
|
|
Return
|
|
FunctionEnd
|