FAILURE MAP
← Case archive

FA-51870 / Raster memory layout / Member archive

Morton Page Directory: Directory traversal transposes page coordinates · case 05

The returned physical layout descriptor disagrees with the declared buffer mapping at page_index.

Member previewVariant 5 · 3 implementations · 6 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
layout fixture 3{"address": 887, "directory_bytes": 48, "morton": 8, "page_bytes": 104, "page_index": 7, "page_start": 831, "page_x": 2, "page_y": 1, "pages_x": 4, "pages_y": 3}{"address": 783, "directory_bytes": 48, "morton": 8, "page_bytes": 104, "page_index": 6, "page_start": 727, "page_x": 2, "page_y": 1, "pages_x": 4, "pages_y": 3}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 ↗