upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:04:57 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:04:57 -0500
commit2eb56695666e0537025dc8e29b91c1c8cb16242b (patch)
treecbc65ac0c35bdc94dfe1114c38574642cc112b39 /docs/testing.md
parentda44e54a1a9f77eb094c41481cb2b596cccb6575 (diff)
parent0917b203b8b976753e760391fd6af0b44febbd47 (diff)
Merge pull request #837 from DANISBR1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/design.md
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 279eab0b2..dd11fe1a5 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -317,8 +317,8 @@ LEONIDA_BARY_FALLBACK=1 python -I scripts/run_gpu_tests.py --build runtime/build
317With Mesa 25.2 (llvmpipe, LLVM 20) the first run passes 52 of 88 and skips 36, the second passes 37 of 39 and 317With Mesa 25.2 (llvmpipe, LLVM 20) the first run passes 52 of 88 and skips 36, the second passes 37 of 39 and
318skips 2. The skips are expected: llvmpipe has 8-wide subgroups (so every wave64 test skips without emulation, and 318skips 2. The skips are expected: llvmpipe has 8-wide subgroups (so every wave64 test skips without emulation, and
319the 32-lane tests `ps_bitmask_perm`, `cs_wqm_w32` and `cs_w32_lane_wrap` skip in both runs), no 319the 32-lane tests `ps_bitmask_perm`, `cs_wqm_w32` and `cs_w32_lane_wrap` skip in both runs), no
320`VK_KHR_fragment_shader_barycentric` (`ps_bary`, `ps_uniform_branch`, `ps_scc_mask32`) and no 320`VK_KHR_fragment_shader_barycentric` (`ps_bary`, `ps_persp_bary`, `ps_uniform_branch`, `ps_scc_mask32`) and no
321`VK_KHR_maintenance8` (`ps_texoff`). The third run draws those three barycentric tests through the fallback below 321`VK_KHR_maintenance8` (`ps_texoff`). The third run draws those four barycentric tests through the fallback below
322(with Mesa 26.0.8 it passes 123 of 189, the first run 120), and CI fails it unless every shader that got a fallback 322(with Mesa 26.0.8 it passes 123 of 189, the first run 120), and CI fails it unless every shader that got a fallback
323geometry shader passes. With 323geometry shader passes. With
324`LEONIDA_W64_EMULATE=1` the mesh tests abort inside llvmpipe's compiler ("LLVM ERROR: Cannot emit physreg copy 324`LEONIDA_W64_EMULATE=1` the mesh tests abort inside llvmpipe's compiler ("LLVM ERROR: Cannot emit physreg copy
@@ -328,9 +328,9 @@ differences.
328 328
329## GPUs without fragment barycentrics (NVIDIA Volta, Pascal and older) 329## GPUs without fragment barycentrics (NVIDIA Volta, Pascal and older)
330 330
331`ps_bary`, `ps_uniform_branch` and `ps_scc_mask32` read raw barycentrics, which need 331`ps_bary`, `ps_persp_bary`, `ps_uniform_branch` and `ps_scc_mask32` read raw barycentrics, which need
332`VK_KHR_fragment_shader_barycentric`. NVIDIA has it from Turing on; Volta (V100, Titan V) and older lack it, as do 332`VK_KHR_fragment_shader_barycentric`. NVIDIA has it from Turing on; Volta (V100, Titan V) and older lack it, as do
333llvmpipe and some other drivers. Where the device lacks it those three are skipped; that's expected, not a failure. 333llvmpipe and some other drivers. Where the device lacks it those four are skipped; that's expected, not a failure.
334To test the fallback that runs them anyway, set `LEONIDA_BARY_FALLBACK=1`, **for both `build.py` and `check.py`** 334To test the fallback that runs them anyway, set `LEONIDA_BARY_FALLBACK=1`, **for both `build.py` and `check.py`**
335(or for `run_gpu_tests.py`; CI does this on llvmpipe). The shaders are then translated with `--bary-fallback` and 335(or for `run_gpu_tests.py`; CI does this on llvmpipe). The shaders are then translated with `--bary-fallback` and
336drawn through a pass-through geometry shader that supplies the barycentrics (`docs/design.md`, "Barycentric 336drawn through a pass-through geometry shader that supplies the barycentrics (`docs/design.md`, "Barycentric