18#include <QtCore/private/qglobal_p.h>
22#include <qt_windows.h>
67dcl_globalFlags refactoringAllowed
68dcl_constantbuffer CB0[1], immediateIndexed
69dcl_sampler s0, mode_default
70dcl_resource_texture2d (
float,
float,
float,
float) t0
71dcl_uav_typed_texture2d (
float,
float,
float,
float) u0
72dcl_uav_typed_texture2d (
float,
float,
float,
float) u1
73dcl_uav_typed_texture2d (
float,
float,
float,
float) u2
74dcl_uav_typed_texture2d (
float,
float,
float,
float) u3
75dcl_input vThreadIDInGroupFlattened
78dcl_tgsm_structured g0, 4, 64
79dcl_tgsm_structured g1, 4, 64
80dcl_tgsm_structured g2, 4, 64
81dcl_tgsm_structured g3, 4, 64
82dcl_thread_group 8, 8, 1
83utof r0.xy, vThreadID.xyxx
84add r0.xy, r0.xyxx, l(0.250000, 0.250000, 0.000000, 0.000000)
85mul r0.zw, r0.xxxy, cb0[0].zzzw
87sample_l_indexable(texture2d)(
float,
float,
float,
float) r2.xyzw, r0.zwzz, t0.xyzw, s0, r1.x
88mul r3.xyz, cb0[0].zwzz, l(0.500000, 0.500000, 0.500000, 0.000000)
90mad r3.xyzw, cb0[0].zwzw, r0.xyxy, r3.zwxy
91sample_l_indexable(texture2d)(
float,
float,
float,
float) r4.xyzw, r3.xyxx, t0.xyzw, s0, r1.x
92add r2.xyzw, r2.xyzw, r4.xyzw
94mul r3.y, cb0[0].w, l(0.500000)
95mad r0.xy, cb0[0].zwzz, r0.xyxx, r3.xyxx
96sample_l_indexable(texture2d)(
float,
float,
float,
float) r0.xyzw, r0.xyxx, t0.xyzw, s0, r1.x
97add r0.xyzw, r0.xyzw, r2.xyzw
98sample_l_indexable(texture2d)(
float,
float,
float,
float) r1.xyzw, r3.zwzz, t0.xyzw, s0, r1.x
99add r0.xyzw, r0.xyzw, r1.xyzw
100mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
101store_uav_typed u0.xyzw, vThreadID.xyyy, r1.xyzw
102ieq r2.x, cb0[0].y, l(1)
106store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
107store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
108store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
109store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
111and r2.x, vThreadIDInGroupFlattened.x, l(9)
113 iadd r2.xyz, vThreadIDInGroupFlattened.xxxx, l(1, 8, 9, 0)
114 ld_structured r3.x, r2.x, l(0), g0.xxxx
115 ld_structured r3.y, r2.x, l(0), g1.xxxx
116 ld_structured r3.z, r2.x, l(0), g2.xxxx
117 ld_structured r3.w, r2.x, l(0), g3.xxxx
118 ld_structured r4.x, r2.y, l(0), g0.xxxx
119 ld_structured r4.y, r2.y, l(0), g1.xxxx
120 ld_structured r4.z, r2.y, l(0), g2.xxxx
121 ld_structured r4.w, r2.y, l(0), g3.xxxx
122 ld_structured r5.x, r2.z, l(0), g0.xxxx
123 ld_structured r5.y, r2.z, l(0), g1.xxxx
124 ld_structured r5.z, r2.z, l(0), g2.xxxx
125 ld_structured r5.w, r2.z, l(0), g3.xxxx
126 mad r0.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000), r3.xyzw
127 add r0.xyzw, r4.xyzw, r0.xyzw
128 add r0.xyzw, r5.xyzw, r0.xyzw
129 mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
130 ushr r0.xyzw, vThreadID.xyyy, l(1, 1, 1, 1)
131 store_uav_typed u1.xyzw, r0.xyzw, r1.xyzw
132 store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
133 store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
134 store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
135 store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
137ieq r0.x, cb0[0].y, l(2)
142and r0.x, vThreadIDInGroupFlattened.x, l(27)
144 iadd r0.xyz, vThreadIDInGroupFlattened.xxxx, l(2, 16, 18, 0)
145 ld_structured r2.x, r0.x, l(0), g0.xxxx
146 ld_structured r2.y, r0.x, l(0), g1.xxxx
147 ld_structured r2.z, r0.x, l(0), g2.xxxx
148 ld_structured r2.w, r0.x, l(0), g3.xxxx
149 ld_structured r3.x, r0.y, l(0), g0.xxxx
150 ld_structured r3.y, r0.y, l(0), g1.xxxx
151 ld_structured r3.z, r0.y, l(0), g2.xxxx
152 ld_structured r3.w, r0.y, l(0), g3.xxxx
153 ld_structured r4.x, r0.z, l(0), g0.xxxx
154 ld_structured r4.y, r0.z, l(0), g1.xxxx
155 ld_structured r4.z, r0.z, l(0), g2.xxxx
156 ld_structured r4.w, r0.z, l(0), g3.xxxx
157 add r0.xyzw, r1.xyzw, r2.xyzw
158 add r0.xyzw, r3.xyzw, r0.xyzw
159 add r0.xyzw, r4.xyzw, r0.xyzw
160 mul r1.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
161 ushr r0.xyzw, vThreadID.xyyy, l(2, 2, 2, 2)
162 store_uav_typed u2.xyzw, r0.xyzw, r1.xyzw
163 store_structured g0.x, vThreadIDInGroupFlattened.x, l(0), r1.x
164 store_structured g1.x, vThreadIDInGroupFlattened.x, l(0), r1.y
165 store_structured g2.x, vThreadIDInGroupFlattened.x, l(0), r1.z
166 store_structured g3.x, vThreadIDInGroupFlattened.x, l(0), r1.w
168ieq r0.x, cb0[0].y, l(3)
173if_z vThreadIDInGroupFlattened.x
174 ld_structured r0.x, l(4), l(0), g0.xxxx
175 ld_structured r0.y, l(4), l(0), g1.xxxx
176 ld_structured r0.z, l(4), l(0), g2.xxxx
177 ld_structured r0.w, l(4), l(0), g3.xxxx
178 ld_structured r2.x, l(32), l(0), g0.xxxx
179 ld_structured r2.y, l(32), l(0), g1.xxxx
180 ld_structured r2.z, l(32), l(0), g2.xxxx
181 ld_structured r2.w, l(32), l(0), g3.xxxx
182 ld_structured r3.x, l(36), l(0), g0.xxxx
183 ld_structured r3.y, l(36), l(0), g1.xxxx
184 ld_structured r3.z, l(36), l(0), g2.xxxx
185 ld_structured r3.w, l(36), l(0), g3.xxxx
186 add r0.xyzw, r0.xyzw, r1.xyzw
187 add r0.xyzw, r2.xyzw, r0.xyzw
188 add r0.xyzw, r3.xyzw, r0.xyzw
189 mul r0.xyzw, r0.xyzw, l(0.250000, 0.250000, 0.250000, 0.250000)
190 ushr r1.xyzw, vThreadID.xyyy, l(3, 3, 3, 3)
191 store_uav_typed u3.xyzw, r1.xyzw, r0.xyzw
197inline constexpr BYTE g_csMipmap[] =
199 68, 88, 66, 67, 133, 122,
200 5, 181, 163, 163, 140, 185,
201 158, 179, 4, 65, 180, 238,
205 200, 2, 0, 0, 216, 2,
207 160, 16, 0, 0, 82, 68,
208 69, 70, 140, 2, 0, 0,
213 100, 2, 0, 0, 82, 68,
227 255, 255, 255, 255, 0, 0,
232 0, 0, 255, 255, 255, 255,
237 4, 0, 0, 0, 255, 255,
238 255, 255, 1, 0, 0, 0,
243 255, 255, 255, 255, 2, 0,
248 0, 0, 255, 255, 255, 255,
256 0, 0, 66, 105, 108, 105,
257 110, 101, 97, 114, 67, 108,
258 97, 109, 112, 0, 83, 114,
259 99, 77, 105, 112, 0, 79,
260 117, 116, 77, 105, 112, 49,
261 0, 79, 117, 116, 77, 105,
262 112, 50, 0, 79, 117, 116,
263 77, 105, 112, 51, 0, 79,
264 117, 116, 77, 105, 112, 52,
265 0, 67, 66, 48, 0, 171,
266 171, 171, 81, 1, 0, 0,
274 0, 0, 255, 255, 255, 255,
275 0, 0, 0, 0, 255, 255,
276 255, 255, 0, 0, 0, 0,
281 255, 255, 255, 255, 0, 0,
282 0, 0, 255, 255, 255, 255,
287 0, 0, 0, 0, 255, 255,
288 255, 255, 0, 0, 0, 0,
289 255, 255, 255, 255, 0, 0,
290 0, 0, 83, 114, 99, 77,
291 105, 112, 76, 101, 118, 101,
292 108, 0, 100, 119, 111, 114,
293 100, 0, 171, 171, 0, 0,
299 244, 1, 0, 0, 78, 117,
300 109, 77, 105, 112, 76, 101,
301 118, 101, 108, 115, 0, 84,
302 101, 120, 101, 108, 83, 105,
303 122, 101, 0, 102, 108, 111,
304 97, 116, 50, 0, 171, 171,
311 77, 105, 99, 114, 111, 115,
312 111, 102, 116, 32, 40, 82,
313 41, 32, 72, 76, 83, 76,
314 32, 83, 104, 97, 100, 101,
315 114, 32, 67, 111, 109, 112,
316 105, 108, 101, 114, 32, 49,
317 48, 46, 49, 0, 73, 83,
320 0, 0, 79, 83, 71, 78,
323 83, 72, 69, 88, 176, 13,
325 108, 3, 0, 0, 106, 8,
327 70, 142, 32, 0, 0, 0,
331 88, 24, 0, 4, 0, 112,
333 85, 85, 0, 0, 156, 24,
339 156, 24, 0, 4, 0, 224,
341 85, 85, 0, 0, 156, 24,
355 160, 0, 0, 5, 0, 240,
377 166, 142, 32, 0, 0, 0,
381 10, 128, 32, 0, 0, 0,
383 72, 0, 0, 141, 194, 0,
384 0, 128, 67, 85, 21, 0,
386 0, 0, 230, 10, 16, 0,
392 0, 11, 114, 0, 16, 0,
393 3, 0, 0, 0, 230, 138,
404 0, 0, 230, 142, 32, 0,
409 72, 0, 0, 141, 194, 0,
410 0, 128, 67, 85, 21, 0,
433 230, 138, 32, 0, 0, 0,
438 0, 141, 194, 0, 0, 128,
439 67, 85, 21, 0, 242, 0,
442 0, 0, 70, 126, 16, 0,
451 72, 0, 0, 141, 194, 0,
452 0, 128, 67, 85, 21, 0,
454 0, 0, 230, 10, 16, 0,
470 128, 62, 0, 0, 128, 62,
471 164, 0, 0, 6, 242, 224,
477 26, 128, 32, 0, 0, 0,
484 0, 8, 18, 240, 17, 0,
489 168, 0, 0, 8, 18, 240,
495 18, 240, 17, 0, 2, 0,
500 0, 8, 18, 240, 17, 0,
590 0, 12, 242, 0, 16, 0,
594 128, 62, 0, 0, 128, 62,
596 128, 62, 70, 14, 16, 0,
607 56, 0, 0, 10, 242, 0,
612 128, 62, 0, 0, 128, 62,
613 0, 0, 128, 62, 85, 0,
620 0, 7, 242, 224, 17, 0,
625 18, 240, 17, 0, 0, 0,
630 0, 8, 18, 240, 17, 0,
635 168, 0, 0, 8, 18, 240,
641 18, 240, 17, 0, 3, 0,
648 0, 0, 26, 128, 32, 0,
754 0, 10, 242, 0, 16, 0,
758 128, 62, 0, 0, 128, 62,
760 128, 62, 85, 0, 0, 9,
767 242, 224, 17, 0, 2, 0,
771 168, 0, 0, 8, 18, 240,
777 18, 240, 17, 0, 1, 0,
782 0, 8, 18, 240, 17, 0,
787 168, 0, 0, 8, 18, 240,
795 26, 128, 32, 0, 0, 0,
801 21, 0, 0, 1, 190, 24,
803 10, 64, 2, 0, 167, 0,
890 0, 10, 242, 0, 16, 0,
894 128, 62, 0, 0, 128, 62,
896 128, 62, 85, 0, 0, 9,
903 242, 224, 17, 0, 3, 0,
908 0, 1, 83, 84, 65, 84,
909 148, 0, 0, 0, 111, 0,