diff options
| author | aslan2142 <jan.trencansky@protonmail.com> | 2026-11-24 17:21:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-24 17:21:28 +0100 |
| commit | 98a977b4b7a5378948dd66b8a4654a4cd39599c2 (patch) | |
| tree | 2437f264c61b01952f45336c9ad6a2f13ba291b4 /scripts/run_gpu_tests.py | |
| parent | cf4c00cbad88391b455cf321ef159184cf7b6d0f (diff) | |
| parent | 0d27fdcf9a1e511bad33247b9753f3d3fa78d326 (diff) | |
Merge pull request #335 from milk4sale/gpu-test/cube-store
Tested 0d27fdcf9 merged locally onto main 1504c1af6: cs_imgstore_cube passes everywhere, and nothing else changes state.
Devices: RADV, Mesa 26.3.1, Linux:
- AMD Radeon RX 7900 XTX (RDNA3, gfx1100);
- Ryzen 9 7950X3D iGPU (RDNA2, gfx1036);
- llvmpipe.
New fixture, 10 runs each with run_gpu_tests.py --filter cs_imgstore_cube --require-pass:
- 10/10 natively and 10/10 with LEONIDA_W64_EMULATE=1 on all three devices, 0 bad for all three cube images;
- the validation layer, with sync validation on, reports nothing on either AMD GPU.
Regressions, main vs main + #335:
- Full run_gpu_tests.py on both GPUs, native and emulated: 232/250 → 233/251. The only change is the new PASS.
- Every existing vk_store_test fixture keeps its state.
- tests/test_shader_checks.py and tests/semantic/test_image_cube_store_glc.py pass on both trees.
CI: this head's checks are still queued on GitHub, so I ran the Linux jobs locally. They give the same result on both trees. The only failures are already on main:
- cs_imgload_tfe and cs_imgload_d16_tfe (#31, fixed by #892);
- tests/test_tool_stdout_encoding.py.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 46fa6faa6..e8fce4277 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -1335,6 +1335,9 @@ def run_suite(a, work: str) -> int: | |||
| 1335 | elif name == "cs_imgstore": | 1335 | elif name == "cs_imgstore": |
| 1336 | rc, msg = run_cmd([vk_store, spv]) | 1336 | rc, msg = run_cmd([vk_store, spv]) |
| 1337 | results.append((name, *helper_result(rc, msg))) | 1337 | results.append((name, *helper_result(rc, msg))) |
| 1338 | elif name == "cs_imgstore_cube": # GPU-CUBE-STORE: six-layer 2D-array views at bindings 11/12/13 | ||
| 1339 | rc, msg = run_cmd([vk_store, spv, "cube"]) | ||
| 1340 | results.append((name, *helper_result(rc, msg))) | ||
| 1338 | elif name in ("cs_imgload", "cs_imgload_tfe", "cs_imgload_d16", "cs_imgload_d16_tfe", "cs_sample_lz_int_d16"): | 1341 | elif name in ("cs_imgload", "cs_imgload_tfe", "cs_imgload_d16", "cs_imgload_d16_tfe", "cs_sample_lz_int_d16"): |
| 1339 | rc, msg = run_cmd([vk_store, spv, "load" if name in ("cs_imgload", "cs_imgload_tfe") else "load-d16"]) | 1342 | rc, msg = run_cmd([vk_store, spv, "load" if name in ("cs_imgload", "cs_imgload_tfe") else "load-d16"]) |
| 1340 | results.append((name, *helper_result(rc, msg))) | 1343 | results.append((name, *helper_result(rc, msg))) |