FA-52674 / Raster memory layout / Member archive
Xor Bank Swizzle: Tile pitch excludes bank tags or counts one bank · case 04
The returned physical layout descriptor disagrees with the declared buffer mapping at tile_pitch.
Case contract
A stipulated 8x4 tile has four banks. Bank = (local x modulo 4) XOR (local y modulo 4); each bank stores two columns per row and begins with a one-byte tag. Tile rows include a seven-byte trailer. 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": 45, "bank": 0, "bank_local": 0, "bank_pitch": 41, "tile_columns": 1, "tile_origin": 44, "tile_pitch": 160, "tile_row_pitch": 167, "tile_x": 0, "tile_y": 0} | {"address": 45, "bank": 0, "bank_local": 0, "bank_pitch": 41, "tile_columns": 1, "tile_origin": 44, "tile_pitch": 164, "tile_row_pitch": 171, "tile_x": 0, "tile_y": 0} | 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 ↗