diff options
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 3e4b17ffa..53837afac 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -34,6 +34,7 @@ from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, PK_MUL_ | |||
| 34 | TEXTURE_MIP_TEST, GATHER_LOD_TEST, MIP_TEST_PASSES, TEXTURE_CONSTANTS, USER_SGPRS_ENV, USER_SGPRS_WORDS, Skip, mesh_v5_test, not_found_message, | 34 | TEXTURE_MIP_TEST, GATHER_LOD_TEST, MIP_TEST_PASSES, TEXTURE_CONSTANTS, USER_SGPRS_ENV, USER_SGPRS_WORDS, Skip, mesh_v5_test, not_found_message, |
| 35 | pick_build_dir, start_failure, table_fetch_test, texture_gradient_a16_test, texture_mip_test) | 35 | pick_build_dir, start_failure, table_fetch_test, texture_gradient_a16_test, texture_mip_test) |
| 36 | from check import SIGNED_MIP_TEST, UINT_MIP_TEST | 36 | from check import SIGNED_MIP_TEST, UINT_MIP_TEST |
| 37 | from check import cbv_modulate_test | ||
| 37 | from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT | 38 | from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT |
| 38 | from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) | 39 | from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) |
| 39 | from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py | 40 | from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py |
| @@ -668,7 +669,7 @@ DRAWN_WITH = {GATHER_LOD_TEST: "vs_ids.asm", "ps_flat": "vs_ids.asm", "ps_persp_ | |||
| 668 | "ps_interp_f16_high": "vs_f16_pack.asm", "ms_f16_pack": "ps_interp_f16_high.asm", | 669 | "ps_interp_f16_high": "vs_f16_pack.asm", "ms_f16_pack": "ps_interp_f16_high.asm", |
| 669 | "ps_interp_f32_mods": "vs_interp_consts.asm", "ps_interp_mov_mods": "vs_interp_consts.asm", | 670 | "ps_interp_f32_mods": "vs_interp_consts.asm", "ps_interp_mov_mods": "vs_interp_consts.asm", |
| 670 | SIGNED_MIP_TEST: "vs_ids.asm", UINT_MIP_TEST: "vs_ids.asm", | 671 | SIGNED_MIP_TEST: "vs_ids.asm", UINT_MIP_TEST: "vs_ids.asm", |
| 671 | "vs_base_ids": "ps_flat.asm"} | 672 | "vs_base_ids": "ps_flat.asm", "ps_cbv_modulate": "vs_ids.asm"} |
| 672 | DRAWN_WITH.update({name: "vs_ids.asm" for name in GET_LOD_TESTS}) | 673 | DRAWN_WITH.update({name: "vs_ids.asm" for name in GET_LOD_TESTS}) |
| 673 | 674 | ||
| 674 | 675 | ||
| @@ -1312,6 +1313,10 @@ def run_suite(a, work: str) -> int: | |||
| 1312 | problem = texture_mip_test(a.build, spirv_dir, name) | 1313 | problem = texture_mip_test(a.build, spirv_dir, name) |
| 1313 | ok = None if isinstance(problem, Skip) else not problem | 1314 | ok = None if isinstance(problem, Skip) else not problem |
| 1314 | results.append((name, ok, problem or "two passes, 4096 RGBA32F pixels each exact; wrong mip and UV rejected")) | 1315 | results.append((name, ok, problem or "two passes, 4096 RGBA32F pixels each exact; wrong mip and UV rejected")) |
| 1316 | elif name == "ps_cbv_modulate": | ||
| 1317 | problem = cbv_modulate_test(a.build, spirv_dir) | ||
| 1318 | results.append((name, None if isinstance(problem, Skip) else not problem, | ||
| 1319 | problem or "4096 pixels matched for each of two buffer descriptors")) | ||
| 1315 | elif name == "ps_table_fetch": | 1320 | elif name == "ps_table_fetch": |
| 1316 | problem = table_fetch_test(a.build, spirv_dir) | 1321 | problem = table_fetch_test(a.build, spirv_dir) |
| 1317 | results.append((name, None if isinstance(problem, Skip) else not problem, | 1322 | results.append((name, None if isinstance(problem, Skip) else not problem, |