mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:50:52 +01:00
[PR #44] [MERGED] docs/design.md: the cube storage image contract (DOC-CUBE-STORE) #97
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#97
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/44
Author: @Mby159
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:docs/cube-store-contract📝 Commits (1)
a5a22addocs/design.md: the cube storage image contract📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
docs/design.md(+2 -2)📄 Description
claiming: DOC-CUBE-STORE
The contract table in
docs/design.mdstill describes the state before cube storage images were supported."Coherent image accesses (
glc)" ended withbut a cube does have a storage view now: the translator maps
dim:SQ_RSRC_IMG_CUBEto the 2D-array view, and a coherentimage_loadon a cube is accepted. The row now says that a sampled read is stillUnsupported, and that a cube has no storage view of its own because it is bound as a six-layer 2D array, with bindings 11/12/13 and the third coordinate as the face."Typed image stores" listed only 2D, 2D array and 3D. It now lists cube as well, and spells out the binding (bindings 11/12/13 for float/uint/sint,
OpTypeImage ... 2D 0 1 0 2 Unknown,%v3intcoordinates (x, y, face)), thattfeandlweare refused, and how the rule was confirmed.How it was confirmed
CPU-checked by
tests/semantic/test_image_cube_store_glc.py(image_store and coherent image_load ondim:SQ_RSRC_IMG_CUBEacross dmask subsets, a16, d16, unorm, and the CS and PS stages, withspirv-valon every generated module). Not GPU-verified: no GPU fixture covers a cube store, so the row says so instead of claiming a GPU check.Checks
python -I scripts/check_no_game_data.py docs/design.md- clean.python -m unittest discover -s tests/semantic -p test_image_cube_store_glc.py- 9 tests, OK (2 skipped).python -I scripts/run_semantic_tests.py tests/semanticon this main: 463 files, 6075 tests, 2 files failed (test_exec_computed,test_image_atomics_guard) - unchanged by this edit, which touches documentation only.No game files; documentation only. AI-assisted (MiniMax Code).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.