FA-51842 / Raster memory layout / Member archive
Morton Page Directory: Partial right-edge page is omitted from directory width · case 02
The returned physical layout descriptor disagrees with the declared buffer mapping at pages_x.
Case contract
Square 4x4 texel pages use row-major page-directory order and Morton x/y interleaving within each page. Each page has an eight-byte header; directory entries are four bytes and directory storage precedes page bodies. Return the named intermediate layout descriptor and final address fields; all quantities are integer byte offsets unless explicitly stated.
Why this case matters
Offline raster resource, upload, readback, and storage-layout regression model.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| layout fixture 1 | {"address": 30, "directory_bytes": 0, "morton": 0, "page_bytes": 56, "page_index": 0, "page_start": 22, "page_x": 0, "page_y": 0, "pages_x": 0, "pages_y": 1} | {"address": 34, "directory_bytes": 4, "morton": 0, "page_bytes": 56, "page_index": 0, "page_start": 26, "page_x": 0, "page_y": 0, "pages_x": 1, "pages_y": 1} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗