FA-52983 / Raster memory layout / Member archive
Scanline Scatter Gather: Gather destination overwrites first segment or uses pixel offset · case 03
The returned physical layout descriptor disagrees with the declared buffer mapping at destination_offsets.
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 3 | {"destination_offsets": [0, 0], "left_bytes": 16, "left_count": 4, "left_start": 129, "right_bytes": 8, "right_count": 2, "right_local": 0, "right_start": 426, "spans": [[129, 16], [426, 8]], "total_bytes": 24} | {"destination_offsets": [0, 16], "left_bytes": 16, "left_count": 4, "left_start": 129, "right_bytes": 8, "right_count": 2, "right_local": 0, "right_start": 426, "spans": [[129, 16], [426, 8]], "total_bytes": 24} | 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 ↗