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:
authorEnea Cortese <148778899+breachato@users.noreply.github.com>2026-11-24 20:16:53 +0100
committerEnea Cortese <148778899+breachato@users.noreply.github.com>2026-11-24 21:14:16 +0100
commitf41c931602bf1e076580adc92e728799c989a67f (patch)
treeed80d4378873802c01476e006fc53c437c229e6d /docs/testing.md
parent58be9cdf8df9a31bc7f6c068991f1aed381f7f4d (diff)
docs: drop the sections a merge duplicated in three pages
animation.md repeated the whole `MoVE` state-machine section, gbuffer.md repeated the `OSG1` census table and section 2 (leaving a `## 3` heading whose body began mid-sentence), and testing.md repeated the 128-byte push-constant section back to back after a list item. The copy dropped in each page is the older one: the surviving `MoVE` text adds "747 child states total" and the surviving `### Arithmetic` text carries the 256-of-256 / 2-of-256 round trip. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md17
1 files changed, 0 insertions, 17 deletions
diff --git a/docs/testing.md b/docs/testing.md
index f8246f888..46da2eba7 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -386,23 +386,6 @@ Each line prints `ok`, a `SKIP` with its reason, or what differed. To add a fixt
3863. Add it to `EXPECT` in `tests/test_wave64_halves_fixtures.py` with the tier, reasons and idioms the translator 3863. Add it to `EXPECT` in `tests/test_wave64_halves_fixtures.py` with the tier, reasons and idioms the translator
387 should give it, and run `python -m pytest tests/test_wave64_halves_fixtures.py`. 387 should give it, and run `python -m pytest tests/test_wave64_halves_fixtures.py`.
3884. Run `w64_graphics.py` on a RADV GPU and say which GPU and Mesa version in the pull request. 3884. Run `w64_graphics.py` on a RADV GPU and say which GPU and Mesa version in the pull request.
389## GPUs with 128 bytes of push constants (AMD RDNA2 iGPUs on Windows, some Intel Arc drivers)
390
391The translated shaders take 144 bytes of push constants: s0..s31, then the heap base and the code base. A device whose
392`maxPushConstantsSize` is 128, Vulkan's minimum, can't take that, so the texture tests and every test drawn through
393`vk_harness` skip there (`unsupported: need 144 push constant bytes, device has 128`); `vulkaninfo` shows the limit.
394AMD's older Windows drivers report 128 on RDNA2 iGPUs (Radeon 680M on 22.40.84.06, 610M on 24.10.16.14, the Ryzen 5
3957600's iGPU on 24.10.24); 26.11.2 reports 256 on a Radeon 610M, where these tests run without the variable below.
396RADV reports more on the same chips.
397
398To run them anyway, set `LEONIDA_PC_TAIL_UBO=1` **for both `build.py` and `check.py`** (or for
399`run_gpu_tests.py`). The shaders are then translated with `--pc-tail-ubo`: s0..s31 stay in 128 push-constant bytes,
400and the heap base and code base move to a uniform block at set 1 (`docs/design.md`, "Push-constant tail as a uniform
401block"), which `vk_compute_test`, `vk_store_test`, `vk_harness`, `vk_texture_test`, `vk_sampler_test` and
402`vk_bindless_test` bind (`runtime/test/vk_pc_tail.h`). If you set it
403only for `check.py`, the shaders read the tail from push constants the programs no longer declare. `--mesh-compute`
404(`LEONIDA_MESH_COMPUTE=1`) isn't combined with it yet: its vertex shader still reads the output address from push
405constants, so those tests skip.
406 389
407## GPUs with 128 bytes of push constants (AMD RDNA2 iGPUs on Windows, some Intel Arc drivers) 390## GPUs with 128 bytes of push constants (AMD RDNA2 iGPUs on Windows, some Intel Arc drivers)
408 391