1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-22 12:30:05 +00:00

Fix BC7 GPU shaders on WARP device

This commit is contained in:
Chuck Walbourn 2018-07-05 15:52:46 -07:00
parent dbde8d2f3b
commit fcc5b33bf3
12 changed files with 6778 additions and 6743 deletions

View File

@ -7,7 +7,7 @@
// Licensed under the MIT License.
//--------------------------------------------------------------------------------------
//#define REF_DEVICE
#define REF_DEVICE
#define CHAR_LENGTH 8
#define NCHANNELS 4

File diff suppressed because it is too large Load Diff

View File

@ -770,6 +770,7 @@ if_nz r1.y
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r5.x
endif
endif
sync_g_t
if_nz r1.x
ld_structured r2.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(16)
@ -783,6 +784,7 @@ if_nz r1.x
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r5.x
endif
endif
sync_g_t
if_nz r1.z
ld_structured r2.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(8)
@ -796,6 +798,7 @@ if_nz r1.z
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r5.x
endif
endif
sync_g_t
if_nz r1.w
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(4)
@ -809,6 +812,7 @@ if_nz r1.w
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r4.x
endif
endif
sync_g_t
ult r0.yz, vThreadIDInGroupFlattened.xxxx, l(0, 2, 1, 0)
if_nz r0.y
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
@ -823,6 +827,7 @@ if_nz r0.y
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r4.x
endif
endif
sync_g_t
if_nz r0.z
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(1)
@ -853,11 +858,11 @@ ret
const BYTE BC7Encode_TryMode02CS[] =
{
68, 88, 66, 67, 233, 95,
241, 206, 31, 247, 116, 4,
214, 108, 108, 222, 169, 255,
219, 236, 1, 0, 0, 0,
116, 75, 0, 0, 3, 0,
68, 88, 66, 67, 145, 232,
246, 57, 30, 232, 55, 85,
166, 107, 154, 101, 228, 76,
33, 91, 1, 0, 0, 0,
136, 75, 0, 0, 3, 0,
0, 0, 44, 0, 0, 0,
60, 0, 0, 0, 76, 0,
0, 0, 73, 83, 71, 78,
@ -866,8 +871,8 @@ const BYTE BC7Encode_TryMode02CS[] =
79, 83, 71, 78, 8, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 83, 72,
69, 88, 32, 75, 0, 0,
64, 0, 5, 0, 200, 18,
69, 88, 52, 75, 0, 0,
64, 0, 5, 0, 205, 18,
0, 0, 106, 8, 0, 1,
53, 24, 0, 0, 2, 3,
0, 0, 80, 80, 104, 170,
@ -3753,113 +3758,115 @@ const BYTE BC7Encode_TryMode02CS[] =
0, 0, 10, 0, 16, 0,
5, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
31, 0, 4, 3, 10, 0,
16, 0, 1, 0, 0, 0,
167, 0, 0, 8, 18, 0,
16, 0, 2, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 30, 0, 0, 6,
34, 0, 16, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 3, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 4, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 24, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 5, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 32, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
34, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
3, 0, 0, 0, 10, 0,
16, 0, 2, 0, 0, 0,
31, 0, 4, 3, 26, 0,
16, 0, 0, 0, 0, 0,
168, 0, 0, 8, 18, 240,
190, 24, 0, 1, 31, 0,
4, 3, 10, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
2, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 24, 0,
0, 0, 10, 0, 16, 0,
4, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
32, 0, 0, 0, 10, 0,
16, 0, 5, 0, 0, 0,
21, 0, 0, 1, 21, 0,
0, 1, 31, 0, 4, 3,
42, 0, 16, 0, 1, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 2, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 30, 0,
0, 6, 34, 0, 16, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
8, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
4, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 24, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
5, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 32, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 79, 0,
0, 7, 34, 0, 16, 0,
0, 0, 0, 0, 10, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
10, 0, 16, 0, 2, 0,
0, 0, 31, 0, 4, 3,
26, 0, 16, 0, 0, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
24, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 5, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 34, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 10, 0, 16, 0,
3, 0, 0, 0, 168, 0,
2, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
24, 0, 0, 0, 10, 0,
16, 0, 4, 0, 0, 0,
16, 0, 0, 0, 10, 0,
16, 0, 3, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 5, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 31, 0,
0, 0, 24, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
0, 0, 10, 0, 16, 0,
5, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
190, 24, 0, 1, 31, 0,
4, 3, 42, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
2, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 8, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
24, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 5, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 34, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 10, 0,
16, 0, 3, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 24, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
0, 0, 10, 0, 16, 0,
5, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
190, 24, 0, 1, 31, 0,
4, 3, 58, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
@ -3913,93 +3920,129 @@ const BYTE BC7Encode_TryMode02CS[] =
0, 0, 10, 0, 16, 0,
4, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
79, 0, 0, 9, 98, 0,
16, 0, 0, 0, 0, 0,
6, 64, 2, 0, 2, 64,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
31, 0, 4, 3, 26, 0,
16, 0, 0, 0, 0, 0,
167, 0, 0, 8, 18, 0,
16, 0, 1, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 30, 0, 0, 6,
34, 0, 16, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 2, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 2, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 3, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 24, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 4, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 32, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
34, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
31, 0, 4, 3, 26, 0,
16, 0, 0, 0, 0, 0,
168, 0, 0, 8, 18, 240,
190, 24, 0, 1, 79, 0,
0, 9, 98, 0, 16, 0,
0, 0, 0, 0, 6, 64,
2, 0, 2, 64, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
1, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
0, 0, 2, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 2, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
24, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 34, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 2, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 24, 0,
0, 0, 10, 0, 16, 0,
3, 0, 0, 0, 168, 0,
1, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
32, 0, 0, 0, 10, 0,
16, 0, 4, 0, 0, 0,
21, 0, 0, 1, 21, 0,
0, 1, 31, 0, 4, 3,
42, 0, 16, 0, 0, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 1, 0,
16, 0, 0, 0, 10, 0,
16, 0, 2, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 24, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 30, 0,
0, 6, 34, 0, 16, 0,
1, 64, 0, 0, 32, 0,
0, 0, 10, 0, 16, 0,
4, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
190, 24, 0, 1, 31, 0,
4, 3, 42, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
1, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 1, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 2, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
24, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 34, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 2, 0,
0, 0, 10, 0, 16, 0,
1, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
1, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
2, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 24, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
4, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
16, 0, 0, 0, 10, 0,
16, 0, 2, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 24, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
0, 0, 10, 0, 16, 0,
4, 0, 0, 0, 21, 0,
0, 1, 167, 0, 0, 9,
18, 0, 16, 0, 1, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
6, 112, 16, 0, 1, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 2, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 79, 0,
0, 7, 34, 0, 16, 0,
@ -4008,69 +4051,34 @@ const BYTE BC7Encode_TryMode02CS[] =
10, 0, 16, 0, 1, 0,
0, 0, 31, 0, 4, 3,
26, 0, 16, 0, 0, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
24, 0, 0, 0, 10, 0,
16, 0, 3, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 21, 0, 0, 1,
167, 0, 0, 9, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 6, 112,
16, 0, 1, 0, 0, 0,
167, 0, 0, 8, 18, 0,
16, 0, 2, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
34, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
31, 0, 4, 3, 26, 0,
16, 0, 0, 0, 0, 0,
167, 0, 0, 8, 66, 0,
16, 0, 2, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 24, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 167, 0, 0, 8,
130, 0, 16, 0, 2, 0,
66, 0, 16, 0, 2, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
1, 64, 0, 0, 24, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 54, 0,
0, 6, 34, 0, 16, 0,
2, 0, 0, 0, 58, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 18, 0,
0, 1, 167, 0, 0, 9,
242, 0, 16, 0, 2, 0,
0, 0, 0, 0, 167, 0,
0, 8, 130, 0, 16, 0,
2, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
54, 0, 0, 6, 34, 0,
16, 0, 2, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
18, 0, 0, 1, 167, 0,
0, 9, 242, 0, 16, 0,
2, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 70, 126, 16, 0,
1, 0, 0, 0, 21, 0,
0, 1, 168, 0, 0, 9,
242, 224, 17, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
70, 126, 16, 0, 1, 0,
70, 14, 16, 0, 2, 0,
0, 0, 21, 0, 0, 1,
168, 0, 0, 9, 242, 224,
17, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 70, 14,
16, 0, 2, 0, 0, 0,
21, 0, 0, 1, 62, 0,
0, 1
62, 0, 0, 1
};

View File

@ -768,6 +768,7 @@ if_nz r1.y
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r4.x
endif
endif
sync_g_t
if_nz r1.x
ld_structured r2.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(16)
@ -780,6 +781,7 @@ if_nz r1.x
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r4.x
endif
endif
sync_g_t
if_nz r1.z
ld_structured r2.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(8)
@ -792,6 +794,7 @@ if_nz r1.z
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r4.x
endif
endif
sync_g_t
if_nz r1.w
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(4)
@ -804,6 +807,7 @@ if_nz r1.w
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r3.x
endif
endif
sync_g_t
ult r0.yz, vThreadIDInGroupFlattened.xxxx, l(0, 2, 1, 0)
if_nz r0.y
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
@ -817,6 +821,7 @@ if_nz r0.y
store_structured g0.x, vThreadIDInGroupFlattened.x, l(32), r3.x
endif
endif
sync_g_t
if_nz r0.z
ld_structured r1.x, vThreadIDInGroupFlattened.x, l(16), g0.xxxx
iadd r0.y, vThreadIDInGroupFlattened.x, l(1)
@ -845,11 +850,11 @@ ret
const BYTE BC7Encode_TryMode137CS[] =
{
68, 88, 66, 67, 165, 11,
76, 247, 55, 104, 147, 129,
82, 33, 14, 183, 174, 121,
147, 132, 1, 0, 0, 0,
28, 76, 0, 0, 3, 0,
68, 88, 66, 67, 237, 85,
208, 125, 4, 8, 223, 249,
164, 254, 64, 15, 135, 5,
113, 116, 1, 0, 0, 0,
48, 76, 0, 0, 3, 0,
0, 0, 44, 0, 0, 0,
60, 0, 0, 0, 76, 0,
0, 0, 73, 83, 71, 78,
@ -858,8 +863,8 @@ const BYTE BC7Encode_TryMode137CS[] =
79, 83, 71, 78, 8, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 83, 72,
69, 88, 200, 75, 0, 0,
64, 0, 5, 0, 242, 18,
69, 88, 220, 75, 0, 0,
64, 0, 5, 0, 247, 18,
0, 0, 106, 8, 0, 1,
53, 24, 0, 0, 2, 3,
0, 0, 204, 204, 0, 0,
@ -3803,103 +3808,105 @@ const BYTE BC7Encode_TryMode137CS[] =
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 31, 0,
4, 3, 10, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
2, 0, 0, 0, 10, 64,
21, 0, 0, 1, 190, 24,
0, 1, 31, 0, 4, 3,
10, 0, 16, 0, 1, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 2, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 30, 0,
0, 6, 34, 0, 16, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 167, 0,
0, 9, 226, 0, 16, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 249, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
4, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 32, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 79, 0,
0, 7, 66, 0, 16, 0,
0, 0, 0, 0, 26, 0,
16, 0, 3, 0, 0, 0,
10, 0, 16, 0, 2, 0,
0, 0, 31, 0, 4, 3,
42, 0, 16, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 3, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 168, 0, 0, 8,
114, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 134, 3, 16, 0,
3, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
32, 0, 0, 0, 10, 0,
16, 0, 4, 0, 0, 0,
21, 0, 0, 1, 21, 0,
0, 1, 190, 24, 0, 1,
31, 0, 4, 3, 42, 0,
16, 0, 1, 0, 0, 0,
167, 0, 0, 8, 18, 0,
16, 0, 2, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
167, 0, 0, 9, 226, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 249,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 66, 0,
16, 0, 0, 0, 0, 0,
26, 0, 16, 0, 3, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 31, 0,
4, 3, 42, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 168, 0,
0, 8, 114, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 134, 3,
16, 0, 3, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
6, 240, 17, 0, 0, 0,
0, 0, 30, 0, 0, 6,
34, 0, 16, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 8, 0,
0, 0, 167, 0, 0, 9,
226, 0, 16, 0, 3, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 249, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 4, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 31, 0,
4, 3, 42, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
2, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
66, 0, 16, 0, 0, 0,
0, 0, 26, 0, 16, 0,
3, 0, 0, 0, 10, 0,
16, 0, 2, 0, 0, 0,
31, 0, 4, 3, 42, 0,
16, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
168, 0, 0, 8, 114, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 8, 0, 0, 0,
167, 0, 0, 9, 226, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 249,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 4, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 66, 0,
16, 0, 0, 0, 0, 0,
26, 0, 16, 0, 3, 0,
0, 0, 16, 0, 0, 0,
134, 3, 16, 0, 3, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
0, 0, 10, 0, 16, 0,
2, 0, 0, 0, 31, 0,
4, 3, 42, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 168, 0,
0, 8, 114, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 134, 3,
16, 0, 3, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 4, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 31, 0,
4, 0, 0, 0, 21, 0,
0, 1, 21, 0, 0, 1,
190, 24, 0, 1, 31, 0,
4, 3, 58, 0, 16, 0,
1, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
@ -3947,150 +3954,151 @@ const BYTE BC7Encode_TryMode137CS[] =
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 79, 0,
0, 9, 98, 0, 16, 0,
0, 0, 0, 0, 6, 64,
2, 0, 2, 64, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 31, 0,
4, 3, 26, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
1, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
21, 0, 0, 1, 190, 24,
0, 1, 79, 0, 0, 9,
98, 0, 16, 0, 0, 0,
0, 0, 6, 64, 2, 0,
2, 64, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
167, 0, 0, 9, 226, 0,
16, 0, 2, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 31, 0, 4, 3,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 249,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 130, 0,
16, 0, 0, 0, 0, 0,
26, 0, 16, 0, 2, 0,
0, 0, 10, 0, 16, 0,
1, 0, 0, 0, 31, 0,
4, 3, 58, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 1, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 30, 0,
0, 6, 34, 0, 16, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
2, 0, 0, 0, 167, 0,
0, 9, 226, 0, 16, 0,
2, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 168, 0,
0, 8, 114, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 134, 3,
16, 0, 2, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 21, 0, 0, 1,
21, 0, 0, 1, 31, 0,
4, 3, 42, 0, 16, 0,
0, 0, 0, 0, 167, 0,
0, 8, 18, 0, 16, 0,
1, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
30, 0, 0, 6, 34, 0,
16, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 1, 0, 0, 0,
167, 0, 0, 9, 226, 0,
16, 0, 2, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 249,
17, 0, 0, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 3, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
79, 0, 0, 7, 66, 0,
16, 0, 0, 0, 0, 0,
26, 0, 16, 0, 2, 0,
0, 0, 10, 0, 16, 0,
1, 0, 0, 0, 31, 0,
4, 3, 42, 0, 16, 0,
0, 0, 6, 249, 17, 0,
0, 0, 0, 0, 167, 0,
0, 9, 18, 0, 16, 0,
2, 0, 0, 0, 26, 0,
3, 0, 0, 0, 26, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 16, 0,
1, 64, 0, 0, 32, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 168, 0,
0, 8, 114, 240, 17, 0,
0, 0, 0, 0, 79, 0,
0, 7, 130, 0, 16, 0,
0, 0, 0, 0, 26, 0,
16, 0, 2, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 31, 0, 4, 3,
58, 0, 16, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 2, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 168, 0, 0, 8,
114, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 134, 3, 16, 0,
2, 0, 0, 0, 168, 0,
0, 8, 18, 240, 17, 0,
0, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
16, 0, 0, 0, 134, 3,
16, 0, 2, 0, 0, 0,
168, 0, 0, 8, 18, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 32, 0, 0, 0,
10, 0, 16, 0, 3, 0,
0, 0, 21, 0, 0, 1,
167, 0, 0, 9, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 6, 112,
16, 0, 1, 0, 0, 0,
32, 0, 0, 0, 10, 0,
16, 0, 3, 0, 0, 0,
21, 0, 0, 1, 21, 0,
0, 1, 190, 24, 0, 1,
31, 0, 4, 3, 42, 0,
16, 0, 0, 0, 0, 0,
167, 0, 0, 8, 18, 0,
16, 0, 2, 0, 0, 0,
16, 0, 1, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
0, 0, 30, 0, 0, 6,
34, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 1, 0,
0, 0, 167, 0, 0, 9,
226, 0, 16, 0, 2, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 16, 0, 0, 0,
6, 249, 17, 0, 0, 0,
0, 0, 167, 0, 0, 9,
18, 0, 16, 0, 3, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 32, 0, 0, 0,
6, 240, 17, 0, 0, 0,
0, 0, 79, 0, 0, 7,
66, 0, 16, 0, 0, 0,
0, 0, 26, 0, 16, 0,
2, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
31, 0, 4, 3, 26, 0,
31, 0, 4, 3, 42, 0,
16, 0, 0, 0, 0, 0,
167, 0, 0, 8, 114, 0,
16, 0, 1, 0, 0, 0,
167, 0, 0, 9, 18, 0,
16, 0, 2, 0, 0, 0,
26, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
16, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
168, 0, 0, 8, 114, 240,
17, 0, 0, 0, 0, 0,
10, 64, 2, 0, 1, 64,
0, 0, 16, 0, 0, 0,
70, 242, 17, 0, 0, 0,
0, 0, 167, 0, 0, 8,
130, 0, 16, 0, 1, 0,
134, 3, 16, 0, 2, 0,
0, 0, 168, 0, 0, 8,
18, 240, 17, 0, 0, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 32, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 18, 0,
0, 0, 10, 0, 16, 0,
3, 0, 0, 0, 21, 0,
0, 1, 167, 0, 0, 9,
242, 0, 16, 0, 1, 0,
18, 0, 16, 0, 1, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
70, 126, 16, 0, 1, 0,
0, 0, 21, 0, 0, 1,
168, 0, 0, 9, 242, 224,
6, 112, 16, 0, 1, 0,
0, 0, 167, 0, 0, 8,
18, 0, 16, 0, 2, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 6, 240, 17, 0,
0, 0, 0, 0, 79, 0,
0, 7, 34, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 2, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 31, 0, 4, 3,
26, 0, 16, 0, 0, 0,
0, 0, 167, 0, 0, 8,
114, 0, 16, 0, 1, 0,
0, 0, 10, 64, 2, 0,
1, 64, 0, 0, 16, 0,
0, 0, 70, 242, 17, 0,
0, 0, 0, 0, 167, 0,
0, 8, 130, 0, 16, 0,
1, 0, 0, 0, 10, 64,
2, 0, 1, 64, 0, 0,
32, 0, 0, 0, 6, 240,
17, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 70, 14,
16, 0, 1, 0, 0, 0,
21, 0, 0, 1, 62, 0,
0, 1
18, 0, 0, 1, 167, 0,
0, 9, 242, 0, 16, 0,
1, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 70, 126, 16, 0,
1, 0, 0, 0, 21, 0,
0, 1, 168, 0, 0, 9,
242, 224, 17, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
70, 14, 16, 0, 1, 0,
0, 0, 21, 0, 0, 1,
62, 0, 0, 1
};

File diff suppressed because it is too large Load Diff