diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 07:38:00 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 07:38:00 -0500 |
| commit | 12eab0b570f8cd3417f72681ecec70040d1311ff (patch) | |
| tree | 59b359c8241d93c279dfadfdf9e8f607a53e3ddb /scripts/run_gpu_tests.py | |
| parent | 9c5285f2bc016bfaa6bfafd28dad5452139c42d8 (diff) | |
| parent | e4f10932786aafa56d433ea1548929947dc8d5b1 (diff) | |
Merge pull request #1489 from AlxcBTW
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 32a02cdaf..f7fb88af6 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -534,6 +534,13 @@ def check_clip_half(raw_path: str, want_b: float, want_a: float) -> tuple[bool, | |||
| 534 | return ok, detail | 534 | return ok, detail |
| 535 | 535 | ||
| 536 | 536 | ||
| 537 | # Fixtures run by another harness, which needs what these tools do not have (a D3D12 device, the layer's root | ||
| 538 | # arguments and code base). They are still assembled and translated here, so a translator regression shows, but no | ||
| 539 | # checker runs them: the test program that owns them judges them. | ||
| 540 | OTHER_HARNESS = {"ps_m15": "d3d12_translated_draw_test", "vs_m15": "d3d12_translated_draw_test", | ||
| 541 | "ps_m2": "d3d12_m2_textured_test", "vs_m2": "d3d12_m2_textured_test", "ps_m2_uoff": "d3d12_m2_textured_test"} | ||
| 542 | |||
| 543 | |||
| 537 | # Shaders a selected test draws with, built even when the filter leaves them out (#192). | 544 | # Shaders a selected test draws with, built even when the filter leaves them out (#192). |
| 538 | DRAWN_WITH = {GATHER_LOD_TEST: "vs_ids.asm", "ps_flat": "vs_ids.asm", "ps_texture_sample": "vs_ids.asm", "ps_cube_sample": "vs_ids.asm", | 545 | DRAWN_WITH = {GATHER_LOD_TEST: "vs_ids.asm", "ps_flat": "vs_ids.asm", "ps_texture_sample": "vs_ids.asm", "ps_cube_sample": "vs_ids.asm", |
| 539 | "ps_texture_sample_d16": "vs_ids.asm", "ps_sample_c_lz": "vs_ids.asm", "ps_sample_c_lz_a16": "vs_ids.asm", | 546 | "ps_texture_sample_d16": "vs_ids.asm", "ps_sample_c_lz": "vs_ids.asm", "ps_sample_c_lz_a16": "vs_ids.asm", |
| @@ -1039,6 +1046,8 @@ def run_suite(a, work: str) -> int: | |||
| 1039 | with open(raw, "rb") as f: | 1046 | with open(raw, "rb") as f: |
| 1040 | problem, covered = texoff_problem(f.read(), msg) | 1047 | problem, covered = texoff_problem(f.read(), msg) |
| 1041 | results.append((name, not problem, problem or f"4096/4096 pixels exact ({covered})")) | 1048 | results.append((name, not problem, problem or f"4096/4096 pixels exact ({covered})")) |
| 1049 | elif name in OTHER_HARNESS: | ||
| 1050 | results.append((name, None, f"SKIP (run by {OTHER_HARNESS[name]})")) | ||
| 1042 | elif name.startswith("ps_"): | 1051 | elif name.startswith("ps_"): |
| 1043 | raw = os.path.join(raw_dir, f"{name}.raw") | 1052 | raw = os.path.join(raw_dir, f"{name}.raw") |
| 1044 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids | 1053 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids |