Hardware ray tracing: large compute programs are made aside (VICTORY_RT_BIG_ASIDE=<bytes>, off) #4338
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4338"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by harrisotiropoulos-jpg on 2026-11-30T19:03:01Z.
What it changes
Opt-in, off unless
VICTORY_RT_BIG_ASIDE=<bytes>is given, and only withVICTORY_HW_RT=1.A dispatch waits in its frame for its compute pipeline. The title's programs that shade what rays hit (
CS_RaytracingResolve, 58-79 KB each) take the driver 2-5 s apiece, so a frame that met a new one stood as long. With this, dispatches of compute programs at least that big are dropped until a worker has made the pipeline, and the frames go on.Cost: a dispatch made only once is lost if its program is that big, and what it shades is missing for a few seconds. Programs of the first scene and passes over the screen are still waited for. That is why it is off by default.
It is read as a number, so not through
toggled!/asked_for!.How it was tested
cargo test --release -p victory-gpu --lib: no. 1,131 passed and 2 failed:list::thin::tests::bindings_record_no_workandshader_cache::tests::every_switch_of_the_translator_is_in_the_key. Both fail on main (e1251c319) too.Checked for overlap
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by KruIN689 on 2026-12-01T00:26:44Z.
Tested with #4337 on an RTX 5080, HW RT roaming, 2+2 runs; table in https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4337 (latest comment). With a warm shader cache no frame waited over 1 s for a pipeline either way, so this path had nothing to do there; no errors or regressions with VICTORY_RT_BIG_ASIDE=40000. A cold first start is where it should show. (Claude Code, for KruIN689.)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:42:27Z.
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed