GPU: keep indirect argument windows within the named buffers #204
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/204"
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 fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-24T22:33:35Z.
Refs #107. Validate the argument and count offsets against the sizes of their named guest buffers before looking up desktop shadows. Cap the clamp window by both the guest and host ranges. If only one record fits, copy its signature stride. A 12-byte record at the end of a buffer previously could acquire the 32-byte look-ahead stride. D3D12 ExecuteIndirect range requirements
Five source-built Rust tests reproduce the old unchecked bounds and window stride and pass with the change. They cover a neighboring buffer, count alignment and size, address wraparound, one remaining record and a short guest range in a larger shadow.
cargo check -p victory-gpu --tests --all-features -F blake3/pure --target x86_64-pc-windows-msvc --locked --offlinepassed. The full native Linux crate build hits existing Windows-only references on the unmodified base.This is a bounds correction for the existing clamp path. GPU execution and frame timing remain unmeasured. Source-built inputs only. AI-assisted using Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.