FAILURE MAP
← Case archive

FA-51868 / Raster memory layout / Member archive

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

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

Member previewVariant 3 · 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": 613, "directory_bytes": 36, "morton": 8, "page_bytes": 72, "page_index": 7, "page_start": 573, "page_x": 2, "page_y": 1, "pages_x": 3, "pages_y": 3}{"address": 469, "directory_bytes": 36, "morton": 8, "page_bytes": 72, "page_index": 5, "page_start": 429, "page_x": 2, "page_y": 1, "pages_x": 3, "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 ↗