diff options
| author | Murka-Moncz Zsigmond <sanyikapenz@gmail.com> | 2026-11-23 20:45:50 +0100 |
|---|---|---|
| committer | Murka-Moncz Zsigmond <sanyikapenz@gmail.com> | 2026-11-23 20:45:50 +0100 |
| commit | 717f011a002ab41680a1c5c81ab4adbcad8bebd8 (patch) | |
| tree | 3e455a50f58c975c2f8f970663b14f7df72a892b /scripts/run_gpu_tests.py | |
| parent | 867d922f09b86583859796a174df89555fb32da8 (diff) | |
GPU fixtures for computed writes to exec_lo / exec_hi (SHADER-1264)
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 3e4b17ffa..41248c501 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -1158,7 +1158,7 @@ def run_suite(a, work: str) -> int: | |||
| 1158 | "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", | 1158 | "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", |
| 1159 | "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_barrier_early_end", | 1159 | "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_barrier_early_end", |
| 1160 | "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_w32_andn2_exec", | 1160 | "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_w32_andn2_exec", |
| 1161 | "cs_mask_vgpr_exec"): | 1161 | "cs_mask_vgpr_exec", "cs_w32_exec_computed", "cs_w64_exec_computed"): |
| 1162 | cs_dump_wants = { | 1162 | cs_dump_wants = { |
| 1163 | "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], | 1163 | "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], |
| 1164 | # base + soffset + imm (cs_smem_soffset_imm.asm); out[4..7] are seeds the shader leaves alone | 1164 | # base + soffset + imm (cs_smem_soffset_imm.asm); out[4..7] are seeds the shader leaves alone |
| @@ -1236,6 +1236,10 @@ def run_suite(a, work: str) -> int: | |||
| 1236 | "cs_w64x_partial_scmp": [0, 1, 0, 1, 1, 1, 1, 0], # s_cmp mask, -1 in a partial wave | 1236 | "cs_w64x_partial_scmp": [0, 1, 0, 1, 1, 1, 1, 0], # s_cmp mask, -1 in a partial wave |
| 1237 | "cs_w32_partial_scmp": [0, 1, 1, 0, 1, 1, 1, 1], # the same in a 20-thread wave32 | 1237 | "cs_w32_partial_scmp": [0, 1, 1, 0, 1, 1, 1, 1], # the same in a 20-thread wave32 |
| 1238 | "cs_w32_andn2_exec": [1, 8, 16, 2064, 2068, 3, 20, 1544], # s_andn2_saveexec/wrexec_b32 (.asm header) | 1238 | "cs_w32_andn2_exec": [1, 8, 16, 2064, 2068, 3, 20, 1544], # s_andn2_saveexec/wrexec_b32 (.asm header) |
| 1239 | # SHADER-1264: a computed value written to exec_lo / exec_hi gives each lane its own bit | ||
| 1240 | # (cs_w32_exec_computed.asm / cs_w64_exec_computed.asm headers) | ||
| 1241 | "cs_w32_exec_computed": [259, 1028, 3088, 7682, 512, 4100, 0, 3], | ||
| 1242 | "cs_w64_exec_computed": [291, 1028, 11264, 771, 8192, 4132, 0, 3], | ||
| 1239 | "cs_w32_sincos": [1, 1, 1, 1, 1, 1], # SHADER-88 (cs_w32_sincos.asm): angles in turns | 1243 | "cs_w32_sincos": [1, 1, 1, 1, 1, 1], # SHADER-88 (cs_w32_sincos.asm): angles in turns |
| 1240 | # SHADER-74: v_permlane16/x16 FI / BOUND_CTRL with the source lane off in EXEC (cs_w32_permlane_fi.asm) | 1244 | # SHADER-74: v_permlane16/x16 FI / BOUND_CTRL with the source lane off in EXEC (cs_w32_permlane_fi.asm) |
| 1241 | "cs_w32_permlane_fi": [1000, 0, 4, 1, 1000, 0, 52, 49], | 1245 | "cs_w32_permlane_fi": [1000, 0, 4, 1, 1000, 0, 52, 49], |
| @@ -1273,7 +1277,8 @@ def run_suite(a, work: str) -> int: | |||
| 1273 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", | 1277 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", |
| 1274 | "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", | 1278 | "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", |
| 1275 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", | 1279 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", |
| 1276 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial | 1280 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec", |
| 1281 | "cs_w32_exec_computed") and not emulated and not partial | ||
| 1277 | if partial and not emulated: | 1282 | if partial and not emulated: |
| 1278 | cs_env = dict(os.environ, VKC_SUBGROUP_SIZE="64") | 1283 | cs_env = dict(os.environ, VKC_SUBGROUP_SIZE="64") |
| 1279 | if name in WAVE32_LANE_DUMPS: # 32 lanes even without index.json, as check.py requests (#774) | 1284 | if name in WAVE32_LANE_DUMPS: # 32 lanes even without index.json, as check.py requests (#774) |