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:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 12:59:57 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 12:59:57 +0100
commit41e3bc0fd0fdb10ac845359ccc5f3ba975342bea (patch)
tree18ce0cd5e65a24764e517b0ce27a8bf836f7b524 /scripts/run_gpu_tests.py
parent810acc75fe0bc673fbca2cb99974c1f97dba9b10 (diff)
M3 (synthetic): d3d12_m3_frame_test, MRT + D24S8 + occlusion + barriers + SRV pass, three frames in flight
Six frames through a ring of three slots, each with its own fence. Pass 1 draws three rectangles (translator-output vs_m3/ps_m3) into an RGBA8 and an R32F target with depth LESS/write and stencil REPLACE/EQUAL, the far one inside an OCCLUSION query; barriers move the targets to shader/copy-read states; pass 2 samples the first target through an SRV descriptor table. Every pixel and the exact sample count match a CPU reference. No layer change was needed. Render passes (D3D-27) stay open. The generic shader harness skips the fixtures. 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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 37f9b3431..84c9dbbfa 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -506,7 +506,10 @@ def check_clip_half(raw_path: str, want_b: float, want_a: float) -> tuple[bool,
506# Fixtures run by another harness, which needs what these tools do not have (a D3D12 device, the layer's root 506# Fixtures run by another harness, which needs what these tools do not have (a D3D12 device, the layer's root
507# arguments and code base). They are still assembled and translated here, so a translator regression shows, but no 507# arguments and code base). They are still assembled and translated here, so a translator regression shows, but no
508# checker runs them: the test program that owns them judges them. 508# checker runs them: the test program that owns them judges them.
509OTHER_HARNESS = {"ps_m15": "d3d12_translated_draw_test", "vs_m15": "d3d12_translated_draw_test"} 509OTHER_HARNESS = {"ps_m15": "d3d12_translated_draw_test", "vs_m15": "d3d12_translated_draw_test",
510 "ps_m2": "d3d12_m2_textured_test", "vs_m2": "d3d12_m2_textured_test",
511 "ps_m3": "d3d12_m3_frame_test", "vs_m3": "d3d12_m3_frame_test",
512 "ps_m3_post": "d3d12_m3_frame_test"}
510 513
511 514
512# Shaders a selected test draws with, built even when the filter leaves them out (#192). 515# Shaders a selected test draws with, built even when the filter leaves them out (#192).