FA-52968 / Raster memory layout / Member archive
Scanline Scatter Gather: First span size is pixel count or entire segment extent · case 03
The returned physical layout descriptor disagrees with the declared buffer mapping at left_bytes.
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": 2, "left_count": 2, "left_start": 125, "right_bytes": 0, "right_count": 0, "right_local": 0, "right_start": 413, "spans": [[125, 2]], "total_bytes": 2} | {"destination_offsets": [0], "left_bytes": 8, "left_count": 2, "left_start": 125, "right_bytes": 0, "right_count": 0, "right_local": 0, "right_start": 413, "spans": [[125, 8]], "total_bytes": 8} | 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 ↗