Query resolves: never write results the host refused #1745
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1746"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by kais7654 on 2026-11-24T21:53:59Z.
Stacked on #1731 (base branch is that PR's head, since this fixes it).
resolve_queriestook the measured path without checking whether theresolve's range fits the heap. A range
ResolveQueryDatarefuses (pastthe heap's count, or count == 0) leaves the read-back buffer untouched
with undefined contents, and those garbage u64s still went into the
title's memory — worse than the stubs' plausible values. The measured
path now also asks
range_fits(first + count against the heap'scount), and a refused range keeps the stub path.
A failing
Mapof a read-back buffer also logs now, like the otherdeferred failures, instead of dropping the results in silence.
Verified:
cargo check,cargo clippyandcargo test -p victory-gpu(51 passed, including #1731's occlusion test). The full workspace test
suite could not finish here for lack of disk space; nothing outside
victory-gpuis touched.upstream-sync referenced this pull request2026-11-25 13:03:00 +00:00
Pull request closed