FAILURE MAP
← Case archive

FA-52973 / Raster memory layout / Member archive

Scanline Scatter Gather: Second span size is pixels or full remaining scanline · case 03

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

Member previewVariant 3 · 3 implementations · 6 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
layout fixture 3{"destination_offsets": [0, 16], "left_bytes": 16, "left_count": 4, "left_start": 129, "right_bytes": 2, "right_count": 2, "right_local": 0, "right_start": 426, "spans": [[129, 16], [426, 2]], "total_bytes": 18}{"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 ↗