19#include <QtCore/private/qglobal_p.h>
23#include <qt_windows.h>
68dcl_globalFlags refactoringAllowed
69dcl_constantbuffer CB0[1], immediateIndexed
70dcl_sampler s0, mode_default
71dcl_resource_texture2d (
float,
float,
float,
float) t0
72dcl_uav_typed_texture2d (
float,
float,
float,
float) u0
73dcl_uav_typed_texture2d (
float,
float,
float,
float) u1
74dcl_uav_typed_texture2d (
float,
float,
float,
float) u2
75dcl_uav_typed_texture2d (
float,
float,
float,
float) u3
76dcl_input vThreadIDInGroupFlattened
79dcl_tgsm_structured g0, 4, 64
80dcl_tgsm_structured g1, 4, 64
81dcl_tgsm_structured g2, 4, 64
82dcl_tgsm_structured g3, 4, 64
83dcl_thread_group 8, 8, 1
84utof r0.xy, vThreadID.xyxx
85add r0.xy, r0.xyxx, l(0.250000, 0.250000, 0.000000, 0.000000)
86mul r0.zw, r0.xxxy, cb0[0].zzzw
88sample_l_indexable(texture2d)(
float,
float,
float,
float) r2.xyzw, r0.zwzz, t0.xyzw, s0, r1.x
89mul r3.xyz, cb0[0].zwzz, l(0.500000, 0.500000, 0.500000, 0.000000)
91mad r3.xyzw, cb0[0].zwzw, r0.xyxy, r3.zwxy
92sample_l_indexable(texture2d)(
float,
float,
float,
float) r4.xyzw, r3.xyxx, t0.xyzw, s0, r1.x
93add r2.xyzw, r2.xyzw, r4.xyzw
95mul r3.y, cb0[0].w, l(0.500000)
96mad r0.xy, cb0[0].zwzz, r0.xyxx, r3.xyxx
97sample_l_indexable(texture2d)(
float,
float,
float,
float) r0.xyzw, r0.xyxx, t0.xyzw, s0, r1.x
98add r0.xyzw, r0.xyzw, r2.xyzw
99sample_l_indexable(texture2d)(
float,
float,
float,
float) r1.xyzw, r3.zwzz, t0.xyzw, s0, r1.x
100add r0.xyzw, r0.xyzw, r1.xyzw
101mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
102store_uav_typed u0.xyzw, vThreadID.xyyy, r1.xyzw
103ieq r2.x, cb0[0].y, l(1)
107store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
108store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
109store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
110store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
112and r2.x, vThreadIDInGroupFlattened.x, l(9)
114 iadd r2.xyz, vThreadIDInGroupFlattened.xxxx, l(1, 8, 9, 0)
115 ld_structured r3.x, r2.x, l(0), g0.xxxx
116 ld_structured r3.y, r2.x, l(0), g1.xxxx
117 ld_structured r3.z, r2.x, l(0), g2.xxxx
118 ld_structured r3.w, r2.x, l(0), g3.xxxx
119 ld_structured r4.x, r2.y, l(0), g0.xxxx
120 ld_structured r4.y, r2.y, l(0), g1.xxxx
121 ld_structured r4.z, r2.y, l(0), g2.xxxx
122 ld_structured r4.w, r2.y, l(0), g3.xxxx
123 ld_structured r5.x, r2.z, l(0), g0.xxxx
124 ld_structured r5.y, r2.z, l(0), g1.xxxx
125 ld_structured r5.z, r2.z, l(0), g2.xxxx
126 ld_structured r5.w, r2.z, l(0), g3.xxxx
127 mad r0.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000), r3.xyzw
128 add r0.xyzw, r4.xyzw, r0.xyzw
129 add r0.xyzw, r5.xyzw, r0.xyzw
130 mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
131 ushr r0.xyzw, vThreadID.xyyy, l(1, 1, 1, 1)
132 store_uav_typed u1.xyzw, r0.xyzw, r1.xyzw
133 store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
134 store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
135 store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
136 store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
138ieq r0.x, cb0[0].y, l(2)
143and r0.x, vThreadIDInGroupFlattened.x, l(27)
145 iadd r0.xyz, vThreadIDInGroupFlattened.xxxx, l(2, 16, 18, 0)
146 ld_structured r2.x, r0.x, l(0), g0.xxxx
147 ld_structured r2.y, r0.x, l(0), g1.xxxx
148 ld_structured r2.z, r0.x, l(0), g2.xxxx
149 ld_structured r2.w, r0.x, l(0), g3.xxxx
150 ld_structured r3.x, r0.y, l(0), g0.xxxx
151 ld_structured r3.y, r0.y, l(0), g1.xxxx
152 ld_structured r3.z, r0.y, l(0), g2.xxxx
153 ld_structured r3.w, r0.y, l(0), g3.xxxx
154 ld_structured r4.x, r0.z, l(0), g0.xxxx
155 ld_structured r4.y, r0.z, l(0), g1.xxxx
156 ld_structured r4.z, r0.z, l(0), g2.xxxx
157 ld_structured r4.w, r0.z, l(0), g3.xxxx
158 add r0.xyzw, r1.xyzw, r2.xyzw
159 add r0.xyzw, r3.xyzw, r0.xyzw
160 add r0.xyzw, r4.xyzw, r0.xyzw
161 mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
162 ushr r0.xyzw, vThreadID.xyyy, l(2, 2, 2, 2)
163 store_uav_typed u2.xyzw, r0.xyzw, r1.xyzw
164 store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
165 store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
166 store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
167 store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
169ieq r0.x, cb0[0].y, l(3)
174if_z vThreadIDInGroupFlattened.x
175 ld_structured r0.x, l(4), l(0), g0.xxxx
176 ld_structured r0.y, l(4), l(0), g1.xxxx
177 ld_structured r0.z, l(4), l(0), g2.xxxx
178 ld_structured r0.w, l(4), l(0), g3.xxxx
179 ld_structured r2.x, l(32), l(0), g0.xxxx
180 ld_structured r2.y, l(32), l(0), g1.xxxx
181 ld_structured r2.z, l(32), l(0), g2.xxxx
182 ld_structured r2.w, l(32), l(0), g3.xxxx
183 ld_structured r3.x, l(36), l(0), g0.xxxx
184 ld_structured r3.y, l(36), l(0), g1.xxxx
185 ld_structured r3.z, l(36), l(0), g2.xxxx
186 ld_structured r3.w, l(36), l(0), g3.xxxx
187 add r0.xyzw, r0.xyzw, r1.xyzw
188 add r0.xyzw, r2.xyzw, r0.xyzw
189 add r0.xyzw, r3.xyzw, r0.xyzw
190 mul r0.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
191 ushr r1.xyzw, vThreadID.xyyy, l(3, 3, 3, 3)
192 store_uav_typed u3.xyzw, r1.xyzw, r0.xyzw
198inline constexpr BYTE g_csMipmap[] =
200 68, 88, 66, 67, 133, 122,
201 5, 181, 163, 163, 140, 185,
202 158, 179, 4, 65, 180, 238,
206 200, 2, 0, 0, 216, 2,
208 160, 16, 0, 0, 82, 68,
209 69, 70, 140, 2, 0, 0,
214 100, 2, 0, 0, 82, 68,
228 255, 255, 255, 255, 0, 0,
233 0, 0, 255, 255, 255, 255,
238 4, 0, 0, 0, 255, 255,
239 255, 255, 1, 0, 0, 0,
244 255, 255, 255, 255, 2, 0,
249 0, 0, 255, 255, 255, 255,
257 0, 0, 66, 105, 108, 105,
258 110, 101, 97, 114, 67, 108,
259 97, 109, 112, 0, 83, 114,
260 99, 77, 105, 112, 0, 79,
261 117, 116, 77, 105, 112, 49,
262 0, 79, 117, 116, 77, 105,
263 112, 50, 0, 79, 117, 116,
264 77, 105, 112, 51, 0, 79,
265 117, 116, 77, 105, 112, 52,
266 0, 67, 66, 48, 0, 171,
267 171, 171, 81, 1, 0, 0,
275 0, 0, 255, 255, 255, 255,
276 0, 0, 0, 0, 255, 255,
277 255, 255, 0, 0, 0, 0,
282 255, 255, 255, 255, 0, 0,
283 0, 0, 255, 255, 255, 255,
288 0, 0, 0, 0, 255, 255,
289 255, 255, 0, 0, 0, 0,
290 255, 255, 255, 255, 0, 0,
291 0, 0, 83, 114, 99, 77,
292 105, 112, 76, 101, 118, 101,
293 108, 0, 100, 119, 111, 114,
294 100, 0, 171, 171, 0, 0,
300 244, 1, 0, 0, 78, 117,
301 109, 77, 105, 112, 76, 101,
302 118, 101, 108, 115, 0, 84,
303 101, 120, 101, 108, 83, 105,
304 122, 101, 0, 102, 108, 111,
305 97, 116, 50, 0, 171, 171,
312 77, 105, 99, 114, 111, 115,
313 111, 102, 116, 32, 40, 82,
314 41, 32, 72, 76, 83, 76,
315 32, 83, 104, 97, 100, 101,
316 114, 32, 67, 111, 109, 112,
317 105, 108, 101, 114, 32, 49,
318 48, 46, 49, 0, 73, 83,
321 0, 0, 79, 83, 71, 78,
324 83, 72, 69, 88, 176, 13,
326 108, 3, 0, 0, 106, 8,
328 70, 142, 32, 0, 0, 0,
332 88, 24, 0, 4, 0, 112,
334 85, 85, 0, 0, 156, 24,
340 156, 24, 0, 4, 0, 224,
342 85, 85, 0, 0, 156, 24,
356 160, 0, 0, 5, 0, 240,
378 166, 142, 32, 0, 0, 0,
382 10, 128, 32, 0, 0, 0,
384 72, 0, 0, 141, 194, 0,
385 0, 128, 67, 85, 21, 0,
387 0, 0, 230, 10, 16, 0,
393 0, 11, 114, 0, 16, 0,
394 3, 0, 0, 0, 230, 138,
405 0, 0, 230, 142, 32, 0,
410 72, 0, 0, 141, 194, 0,
411 0, 128, 67, 85, 21, 0,
434 230, 138, 32, 0, 0, 0,
439 0, 141, 194, 0, 0, 128,
440 67, 85, 21, 0, 242, 0,
443 0, 0, 70, 126, 16, 0,
452 72, 0, 0, 141, 194, 0,
453 0, 128, 67, 85, 21, 0,
455 0, 0, 230, 10, 16, 0,
471 128, 62, 0, 0, 128, 62,
472 164, 0, 0, 6, 242, 224,
478 26, 128, 32, 0, 0, 0,
485 0, 8, 18, 240, 17, 0,
490 168, 0, 0, 8, 18, 240,
496 18, 240, 17, 0, 2, 0,
501 0, 8, 18, 240, 17, 0,
591 0, 12, 242, 0, 16, 0,
595 128, 62, 0, 0, 128, 62,
597 128, 62, 70, 14, 16, 0,
608 56, 0, 0, 10, 242, 0,
613 128, 62, 0, 0, 128, 62,
614 0, 0, 128, 62, 85, 0,
621 0, 7, 242, 224, 17, 0,
626 18, 240, 17, 0, 0, 0,
631 0, 8, 18, 240, 17, 0,
636 168, 0, 0, 8, 18, 240,
642 18, 240, 17, 0, 3, 0,
649 0, 0, 26, 128, 32, 0,
755 0, 10, 242, 0, 16, 0,
759 128, 62, 0, 0, 128, 62,
761 128, 62, 85, 0, 0, 9,
768 242, 224, 17, 0, 2, 0,
772 168, 0, 0, 8, 18, 240,
778 18, 240, 17, 0, 1, 0,
783 0, 8, 18, 240, 17, 0,
788 168, 0, 0, 8, 18, 240,
796 26, 128, 32, 0, 0, 0,
802 21, 0, 0, 1, 190, 24,
804 10, 64, 2, 0, 167, 0,
891 0, 10, 242, 0, 16, 0,
895 128, 62, 0, 0, 128, 62,
897 128, 62, 85, 0, 0, 9,
904 242, 224, 17, 0, 3, 0,
909 0, 1, 83, 84, 65, 84,
910 148, 0, 0, 0, 111, 0,