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