Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/gpu_test_results.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ post counts and pass/fail lines there, never game shaders, logs or private paths
| NVIDIA GeForce RTX 5070 Ti (Blackwell), subgroup 32..32 | NVIDIA 617.42, Vulkan 1.4.351, Windows 11 Pro 26300 | `21625bc` | 257/257 translated and valid (run_gpu_tests.py) | run via run_gpu_tests.py | 197/248 passed, 49 skipped, 2 failed (native); 229/248 passed, 17 skipped, 2 failed (`LEONIDA_W64_EMULATE=1`) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31) | [local note](../gpu-test-results/RTX5070Ti.txt) |
| Apple M5 Pro (16-core GPU, Metal 4), subgroup 4..32 | MoltenVK 1.4.2 (Homebrew), Vulkan 1.4.357, macOS 26.7.3 (25G342) | `d42773d07` | 280/280 translated and valid | 175/219 pass, 39 skipped, 5 failed | 183/248 passed, 61 skipped, 4 failed (native); 214/248 passed, 30 skipped, 4 failed (`LEONIDA_W64_EMULATE=1`) | `cs_fma_fused` (known row), `cs_imgload_tfe`, `cs_imgload_d16_tfe` (pass with #291), `ps_imgatomic` flake (#543) | [local note](../gpu-test-results/AppleM5Pro.txt) |
| NVIDIA GeForce RTX 3080 (Ampere, GA102, 10 GB GDDR6X), subgroup 32..32 | NVIDIA 580.178.04, Vulkan 1.4.312, Ubuntu 26.04 LTS | `d2cd6c0` | not run | not run | 197/248 passed, 49 skipped, 2 failed (native); 229/248 passed, 17 skipped, 2 failed (`LEONIDA_W64_EMULATE=1`) | `cs_imgload_tfe`, `cs_imgload_d16_tfe` (#31; see #280) | [local note](../gpu-test-results/RTX3080.txt) |
| NVIDIA GeForce GTX 1050 Ti Max-Q (Pascal GP107M), subgroup 32..32 | NVIDIA 555.58.02, Vulkan 1.3.278, Linux | `3aa9754` | 283/283 translated and valid | 184/222 pass, 38 skipped | 190/252 passed, 62 skipped (native); 221/252 passed, 31 skipped (`LEONIDA_W64_EMULATE=1`); 234/252 passed, 18 skipped (plus `LEONIDA_MESH_COMPUTE=1 LEONIDA_BARY_FALLBACK=1 LEONIDA_TEXOFF_FALLBACK=1`) | none in the shader suites; ctest: `xdxr_build_check` timeout (see note) | [local note](../gpu-test-results/GTX1050Ti-Linux.txt) |
| Intel UHD Graphics 630 (Coffee Lake GT2, Gen9.5), subgroup 8..32 | ANV, Mesa 26.1.6, Vulkan 1.4.354, Linux | `3aa9754` | 283/283 translated and valid | 182/222 pass, 40 skipped | 195/252 passed, 57 skipped (native); 226/252 passed, 26 skipped (`LEONIDA_W64_EMULATE=1`) | none in the shader suites; ctest: `vk_predicated_copy`, `xdxr_build_check` timeout (see note) | [local note](../gpu-test-results/UHD630-Linux.txt) |

## AMD Radeon RX 9070 GRE — 2026-11-23

Expand Down
64 changes: 64 additions & 0 deletions gpu-test-results/GTX1050Ti-Linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
GPU: NVIDIA GeForce GTX 1050 Ti Max-Q (Pascal GP107M, PCI 10de:1c8f), 4096 MiB reported by nvidia-smi
Driver: NVIDIA 555.58.02 (driverVersion 555.58.2.0), Vulkan 1.3.278 (loader 1.4.309)
Subgroup: 32..32 (minSubgroupSize 32, maxSubgroupSize 32)
OS: Linux (x86-64); one machine with both GPUs, this one selected with
VK_LOADER_DRIVERS_SELECT='*nvidia*'
Commit: 3aa975421d470b76da1aa986a91282c59e20d642 (main, 2026-11-24)
Tools: GCC 14.2.0, CMake 3.31.6 with Ninja, llvm-mc 21.1.8 (apt.llvm.org), SPIRV-Tools v2025.1,
Vulkan headers 1.4.309 (system), Python 3.13.5
Build: cmake -S runtime -B runtime/build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release, then
python3 -I scripts/run_gpu_tests.py --build runtime/build/linux

run_gpu_tests.py, 252 fixtures, 0 failed in every run:
native: 190/252 passed, 62 skipped
LEONIDA_W64_EMULATE=1: 221/252 passed, 31 skipped
LEONIDA_W64_EMULATE=1 LEONIDA_MESH_COMPUTE=1
LEONIDA_BARY_FALLBACK=1 LEONIDA_TEXOFF_FALLBACK=1: 234/252 passed, 18 skipped

Skipped, all documented reasons (docs/testing.md):
native: 31 no 64-wide compute subgroup (run under LEONIDA_W64_EMULATE=1 below),
6 no VK_EXT_mesh_shader / mesh shading unavailable (Pascal),
4 read BaryCoordKHR without VK_KHR_fragment_shader_barycentric (Pascal),
1 computed I/J pairs need PerVertexKHR inputs,
3 no VK_KHR_maintenance8 (non-constant texel offset) (Pascal),
1 needs a required 64-wide fragment subgroup (32..32),
15 run by d3d12_*_test, 1 run by w64_graphics.py.
W64 emulation: the 31 wave64 compute fixtures all pass; the other 31 skips are unchanged.
all fallbacks: the mesh shaders through --mesh-compute, the barycentric fixtures through
--bary-fallback and the texel-offset fixtures through the coordinate fold all pass.
Left (18): 15 run by d3d12_*_test, 1 run by w64_graphics.py, 1 needs a required
64-wide fragment subgroup, 1 computed I/J pairs (ps_ij_computed: needs PerVertexKHR).

Supplementary runs (same machine and tools, same test binaries built from 3aa9754; the GPU picked
with the same loader filter; each failure rerun once and reproduced). The three shader entry
points judge different fixture sets by design (check.py 222, run_gpu_tests.py 252, build.py 283
modules), so their counts are not comparable with each other.
build.py (LEONIDA_BARY_FALLBACK=1 LEONIDA_TEXOFF_FALLBACK=1):
283 shaders: 283 translated, 283 pass spirv-val (the 6 ms_* fixtures and
ps_ij_computed are not built by build.py, as documented)
check.py (same two fallbacks): 184 of 222 pass, 38 skipped, 0 failed. Skips: 31 no 64-wide
compute subgroup, 1 cs_exec64 can't run at 64 lanes on request, 3 mesh fixtures
built only by run_gpu_tests.py, 1 ps_ij_computed, 1 ps_interp_f16_high (needs
VK_KHR_fragment_shader_barycentric), 1 ps_w64x_readlane (subgroup 32..32). The bary
fixtures pass through --bary-fallback and the ps_texoff* fixtures through the
coordinate fold.
w64_graphics.py: 17 ok, 12 skipped, 0 failed of 29. Every tier A and tier B fixture is ok;
the 12 skips are the tier C fixtures ("tier C needs a device that can require both
64 and 32, or W64G_REF").
vk_pipeline_check <build.py spirv dir> --jobs 1: 283/283 modules ok, 283/283 pipelines ok,
0 failed, 0 skipped (cs 126, gs 3, ps 136, vs 18).
ctest --timeout 120 (74 tests): 71 passed, 1 failed, 2 skipped.
Skipped (return code 77, by design): shader_library_corpus (no translated corpus),
vk_sync_validation (LEONIDA_VK_VALIDATION not set).
Failed: xdxr_build_check, Timeout in 2 of 2 runs (about 120.1 s each). This is the
CPU-side `tools/xdxr_bvh.py check-build ... --rays 1000` step
(runtime/CMakeLists.txt:1553); it printed nothing before the cutoff, and the run had
another CPU-heavy job alongside it. The GPU fixture it checks, xdxr_build, passed.
Whether it finishes with a longer timeout was not measured. Not listed under
"Known problems" in docs/testing.md.

Notes:
- This is the Pascal path that docs/testing.md describes (no mesh shaders, no fragment
barycentrics, no VK_KHR_maintenance8) measured on Linux with the proprietary driver: every
fallback runs and none fails.
- AI-assisted (Claude Code). Synthetic tests only; no game files.
64 changes: 64 additions & 0 deletions gpu-test-results/UHD630-Linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
GPU: Intel UHD Graphics 630 (Coffee Lake GT2, Gen9.5, PCI 8086:3e9b), integrated
Driver: Mesa 26.1.6 ANV, Vulkan 1.4.354 (loader 1.4.309)
Subgroup: 8..32 (minSubgroupSize 8, maxSubgroupSize 32; default 32)
OS: Linux (x86-64); one machine with both GPUs, this one selected with
VK_LOADER_DRIVERS_SELECT='*intel_icd*'
Commit: 3aa975421d470b76da1aa986a91282c59e20d642 (main, 2026-11-24)
Tools: GCC 14.2.0, CMake 3.31.6 with Ninja, llvm-mc 21.1.8 (apt.llvm.org), SPIRV-Tools v2025.1,
Vulkan headers 1.4.309 (system), Python 3.13.5
Build: cmake -S runtime -B runtime/build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release, then
python3 -I scripts/run_gpu_tests.py --build runtime/build/linux

run_gpu_tests.py, 252 fixtures, 0 failed in every run:
native: 195/252 passed, 57 skipped
LEONIDA_W64_EMULATE=1: 226/252 passed, 26 skipped

Skipped, all documented reasons (docs/testing.md):
native: 31 no 64-wide compute subgroup (run under LEONIDA_W64_EMULATE=1 below),
6 no VK_EXT_mesh_shader / mesh shading unavailable (ANV doesn't expose it on Gen9),
2 fragment subgroup can run narrower than 32 on an 8..32 device (one ran at 16),
1 needs a required 64-wide fragment subgroup (8..32),
1 computed I/J pairs (ps_ij_computed: needs PerVertexKHR),
15 run by d3d12_*_test, 1 run by w64_graphics.py.
W64 emulation: the 31 wave64 compute fixtures all pass; the other 26 skips are unchanged.

Supplementary runs (same machine and tools, same test binaries built from 3aa9754; the GPU picked
with the same loader filter; each failure rerun once and reproduced). The three shader entry
points judge different fixture sets by design (check.py 222, run_gpu_tests.py 252, build.py 283
modules), so their counts are not comparable with each other.
build.py (no fallback variables; the vk_subgroup_info.py probe on this device answers
barycentric_fallback: true, so the four BaryCoordKHR shaders are translated with
--bary-fallback): 283 shaders: 283 translated, 283 pass spirv-val (the 6 ms_*
fixtures and ps_ij_computed are not built by build.py, as documented)
check.py: 182 of 222 pass, 40 skipped, 0 failed. Skips: 31 no 64-wide compute subgroup,
1 cs_exec64, 3 mesh fixtures built only by run_gpu_tests.py, ps_bitmask_perm and
ps_vcmpx_forms (fragment subgroup can run narrower than 32 on 8..32), 1
ps_ij_computed, 1 ps_interp_f16_high, 1 ps_w64x_readlane (subgroup 8..32).
w64_graphics.py: 5 ok, 24 skipped, 0 failed of 29. GS and VS tiers A and B are ok
(gs_w64_a_ring, vs_w64_a_skip, 3 vs_w64_b_*); 12 pixel tier A/B fixtures skip
because the fragment stage may run fewer than 32 live lanes and 32 cannot be
required on this device; 12 tier C fixtures skip as on the GTX 1050 Ti.
vk_pipeline_check <build.py spirv dir> --jobs 1: 283/283 modules ok, 283/283 pipelines ok,
0 failed, 0 skipped (same split as the GTX 1050 Ti). cs_buf_typed (38.8 s) and
cs_fmt_all (33.2 s) compile above the 30 s SLOW line.
ctest --timeout 120 (74 tests): 70 passed, 2 failed, 2 skipped (the same two by-design
skips as on the GTX 1050 Ti).
Failed: vk_predicated_copy, 2 of 2 runs, "line 138: value==0": one of the 11 words
of the empty VK_QUERY_TYPE_PIPELINE_STATISTICS query read nonzero
(runtime/test/vk_predicated_copy_test.cpp:138). The same binary passes on the
GTX 1050 Ti.
Failed: xdxr_build_check, Timeout in 2 of 2 runs, same as on the GTX 1050 Ti.
Neither failure is listed under "Known problems" in docs/testing.md.

Notes:
- First record for an Intel Gen9 iGPU. vulkaninfo lists no VK_KHR_fragment_shader_barycentric
on this device; the four BaryCoordKHR fixtures (ps_bary, ps_persp_bary, ps_uniform_branch,
ps_scc_mask32) pass through the ANV barycentric fallback that run_gpu_tests.py and build.py
pick from the device probe (SHADER-925), so the native-barycentric bug cannot show here.
Translated without the fallback (build.py probing the other GPU), check.py skips exactly
those four: 178 of 222 pass, 44 skipped, 0 failed.
- The TEST-399 ANV texture-sampling crashes (listed for Mesa 26.1.6) and the cs_signed_zero_nan
row did not reproduce here: every texture fixture and cs_signed_zero_nan are ok in check.py.
- ps_texoff and ps_texoff_implicit pass natively, but their +16/-32 offsets are not judged on
this device (its texel offset limits are narrower), as the tests print.
- AI-assisted (Claude Code). Synthetic tests only; no game files.
Loading