diff options
| author | milk4sale <53350507+milk4sale@users.noreply.github.com> | 2026-11-23 21:10:08 -0600 |
|---|---|---|
| committer | milk4sale <53350507+milk4sale@users.noreply.github.com> | 2026-11-24 01:47:49 -0600 |
| commit | 0d27fdcf9a1e511bad33247b9753f3d3fa78d326 (patch) | |
| tree | 3c79b335611cd9656da973aee4e938b19711a84f /runtime/src/tls_host.cpp | |
| parent | 1c93c8697078c3ccbd6f374caf5bb3ab0b6bc8e4 (diff) | |
GPU fixture cs_imgstore_cube: image_store on dim:SQ_RSRC_IMG_CUBE (GPU-CUBE-STORE)
The "Typed image stores" contract row said a cube storage image was
CPU-checked only (test_image_cube_store_glc.py) and that no GPU fixture
covered it. This adds one:
- runtime/test/shaders/cs_imgstore_cube.asm: rgba8 unorm, r32 uint and
r32 sint T#s (word3 TYPE = SQ_RSRC_IMG_CUBE); 64 threads store to every
texel of all six faces, with per-face values so a wrong layer shows.
- vk_store_test "cube": three cube-compatible 8x8 six-layer images bound
as six-layer 2D-array storage views at bindings 11/12/13, as the
runtime binds a cube UAV; checks every texel of every layer.
- run_gpu_tests.py and check.py run it; test_shader_checks.py counts it.
- docs/design.md: the row names the fixture and the GPUs it passes on.
Builds on #44, which rewrote that row.
Passes on an RTX 4070 Ti (NVIDIA 620.70.06) and a Radeon 610M (gfx1036,
RADV Mesa 26.2.6), native and LEONIDA_W64_EMULATE=1. The same fixture
with the face held at 0 fails on both (320/384/384 bad texels).
AI-assisted. No game files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions