Fill table constant buffers that flights write on the card #522
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/522"
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 pug205gti6 on 2026-11-25T01:58:36Z.
A table's constant buffer view whose title memory a flight in the air may write is filled into upload memory at submission, which makes the submission wait for the flight to land: in the world, one such buffer a frame (480-512 bytes) cost a wait of 52-80 ms. With VICTORY_FILL_ON_CARD (on by default; 0 fills as before) the list copies those bytes from the host copy on the card, behind the flight on the same queue, into a device-local buffer of its own, and binds that instead. The first fills that still wait are logged with their source.
Imported from fxceless/victory-fork. Originally posted by iurysf on 2026-11-25T02:02:44Z.
For whoever reviews this: it is the same commit as #462 (
b39d4aa), where the description has the paired measurement on an RTX 4070 (−35.4 ms a frame, 4 of 4 pairs), the image comparison between the two arms and the card test. Either one can be merged; one of the two can be closed.AI-assisted.
bare_command_costsays about the indirect clamp #696Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T07:36:39Z.
Duplicate of #462: @iurysf opened this patch 45 minutes earlier, and
gh pr diffreturns the same bytes for both (+192/-0 on 2 file(s), same title).Please continue in #462 so the review history and any test data stay in one place.
Thanks.
Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T08:13:00Z.
Independent verification: PR #522 merges cleanly onto main, no conflicts. Build: success (8.27s). Tests: fail on Linux due to pre-existing host/target mismatch — #[cfg(windows)] modules excluded on Linux host, causing unresolved crate/module errors in victory-loader and victory-gpu. Same errors on unmodified main. PR modifies crates/victory-gpu/src/draw.rs (+12) and host.rs (+180). Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.
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.