mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:48:37 +00:00
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>