upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 07:29:31 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 07:29:31 -0500
commit21a8e071687c6eaae0cc197f2584ca0af824fc0e (patch)
tree6eb2cf8598818e1f98e86aeb053d085c1cc2533e /scripts/run_gpu_tests.py
parent2a354f94605c23e4ff7c66b6bb455973fd691390 (diff)
Fix what the merge round broke: w64_graphics fixtures, the R24G8 FORMAT_SUPPORT check, four tools' stdout
- run_gpu_tests.py: #1541's wave64 pixel fixtures (runtime/test/shaders/w64_graphics.py FIXTURES, tiers A-C) are checked by that runner; run_gpu_tests picked up their .asm and failed 14 of them with "no checker defined". It now leaves w64_graphics.FIXTURES to that runner. - d3d12_d24_support_test (#1493): expected DEPTH_STENCIL in FORMAT_SUPPORT for R24G8_TYPELESS. Measured here, the host D3D12 (RTX 4060 Ti and WARP) reports 0x001010b0 for R24G8_TYPELESS and 0x003110b0 (DEPTH_STENCIL) only for D24_UNORM_S8_UINT, which #1511's per-format rules follow; the check now expects the bit for the typed format only. - fma_mix_probe, text_tables, wave64_halves, xdxr_bvh: new tools without #1428's stdout errors='replace' guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index f512cd5b4..d8bcb7c28 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -621,8 +621,22 @@ def main() -> int:
621 shutil.rmtree(work, ignore_errors=True) 621 shutil.rmtree(work, ignore_errors=True)
622 622
623 623
624def _w64_graphics_only() -> frozenset:
625 try:
626 import w64_graphics
627 except ImportError:
628 return frozenset()
629 return frozenset(w64_graphics.FIXTURES)
630
631
632W64_GRAPHICS_ONLY = _w64_graphics_only()
633
634
624def run_suite(a, work: str) -> int: 635def run_suite(a, work: str) -> int:
625 asm_files = sorted({f for f in os.listdir(SHADER_DIR) if f.endswith(".asm")} | {n + ".asm" for n in CLIP_CASES}) 636 asm_files = sorted({f for f in os.listdir(SHADER_DIR) if f.endswith(".asm")} | {n + ".asm" for n in CLIP_CASES})
637 # The wave64 pixel fixtures of runtime/test/shaders/w64_graphics.py (tiers A-C, #1541) are checked by that
638 # runner, not here: they need a 64-wide fragment subgroup or the halves-aware lowering it drives.
639 asm_files = [f for f in asm_files if f[:-4] not in W64_GRAPHICS_ONLY]
626 if a.filter: 640 if a.filter:
627 asm_files = [f for f in asm_files if a.filter in f] 641 asm_files = [f for f in asm_files if a.filter in f]
628 if not asm_files: 642 if not asm_files: