FAILURE MAP
← Case archive

FA-52063 / Raster memory layout / Member archive

Mip Chain Directory: Mip directory size uses entry count or texel width · case 03

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

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

Store four mip levels consecutively. Each level uses ceil-halving, keeps dimensions at least one, has a two-byte row guard and a three-byte level header. A four-entry directory of two-byte offsets precedes all levels. 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 1{"allocation_end": 357, "directory_size": 4, "heights": [5, 3, 2, 1], "level_offsets": [4, 217, 286, 317], "level_origin": 31, "level_sizes": [213, 69, 31, 13], "payload_origin": 34, "row_pitches": [42, 22, 14, 10], "selected_size": 213, "widths": [10, 5, 3, 2]}{"allocation_end": 361, "directory_size": 8, "heights": [5, 3, 2, 1], "level_offsets": [8, 221, 290, 321], "level_origin": 35, "level_sizes": [213, 69, 31, 13], "payload_origin": 38, "row_pitches": [42, 22, 14, 10], "selected_size": 213, "widths": [10, 5, 3, 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 ↗