GPU: keep indirect argument windows within the named buffers #204
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!204
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@avt0m4t48 on GitHub · 2026-11-24 22:33 UTC · original
avt0m4t48:fix/execute-indirect-buffer-ranges→main· +84 −10 · 2 files · 1 commits · openRefs #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.