Alias copies: VICTORY_ALIAS_DIRECT=1 copies R32_UINT/SINT and R9G9B9E5 texture to texture, without the buffer #1730
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1730"
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 101Leafy on 2026-11-28T23:46:46Z.
D3D12 copies the bits of R32_UINT and R32_SINT into R9G9B9E5_SHAREDEXP and back, so those alias copies need no buffer in between. They were every alias copy of a play run, 81 a frame for 8.4 ms of card time, each with two copies and two buffer barriers where one copy does.
With
VICTORY_ALIAS_DIRECT=1these pairs copy texture to texture. The bits land the same, so the picture should not change. Other formats keep the buffer path. Off by default.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by eleboucher on 2026-11-29T07:36:07Z.
PC result: RTX 4070 Ti SUPER 16 GB, Ryzen 7 9800X3D, 16 GB RAM, Windows 11, native 1440p,
VICTORY_BVH_BUILDER=1 VICTORY_ACTIVATE_RAYS=1, diagnostics build of main568c5e5dplus this PR and several others (one exe, one switch per run), 10-minute runs, medians after 200 s. Same exe without the switch: 24.3 fps (p10 23.5), preparing 30.6 ms.With
VICTORY_ALIAS_DIRECT=1: 25.5 fps (p10 23.9), preparing 29.2 ms, about +1.2 fps. In a timing run the alias copies were 1.4 ms of card time a frame (73 a frame). No crash.