mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
When a map error first appeared on poll_reads' second pass and its device-loss probe recorded a validation error, the call returned the map error and left the other reads pending. A third pass now runs only when a polling fault is recorded, and fails those reads in the same call. The salvage path also reads the non-out-of-memory error flag again after it sees a loss, before it copies mapped bytes. docs/gpu-backends.md states when a mapped read returns its bytes after the call detects a loss.