docs/design.md: the cube storage image contract (DOC-CUBE-STORE) #44
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!44
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/44/head"
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?
@Mby159 on GitHub · 2026-11-24 02:06 UTC · original
Mby159:docs/cube-store-contract→main· +2 −2 · 1 files · 1 commits · merged 2026-11-24 03:09 UTCclaiming: 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).