FA-52954 / Raster memory layout / Member archive
Scanline Scatter Gather: First segment origin omits x offset or byte conversion · case 04
The returned physical layout descriptor disagrees with the declared buffer mapping at left_start.
Case contract
A raster readback maps each row to two caller-provided physical segments. Segment boundary is a pixel index, not a byte count; segment two has its own noncontiguous origin. A requested valid x range becomes up to two byte spans. 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 | {"destination_offsets": [0], "left_bytes": 10, "left_count": 2, "left_start": 128, "right_bytes": 0, "right_count": 0, "right_local": 0, "right_start": 413, "spans": [[128, 10]], "total_bytes": 10} | {"destination_offsets": [0], "left_bytes": 10, "left_count": 2, "left_start": 133, "right_bytes": 0, "right_count": 0, "right_local": 0, "right_start": 413, "spans": [[133, 10]], "total_bytes": 10} | 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 ↗