FA-51860 / Raster memory layout / Member archive
Morton Page Directory: Page coordinate uses local x or rounds upward · case 05
The returned physical layout descriptor disagrees with the declared buffer mapping at page_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 2 | {"address": 245, "directory_bytes": 24, "morton": 9, "page_bytes": 104, "page_index": 1, "page_start": 183, "page_x": 1, "page_y": 0, "pages_x": 3, "pages_y": 2} | {"address": 141, "directory_bytes": 24, "morton": 9, "page_bytes": 104, "page_index": 0, "page_start": 79, "page_x": 0, "page_y": 0, "pages_x": 3, "pages_y": 2} | 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 ↗