Alias copies: VICTORY_ALIAS_DIRECT=1 copies R32_UINT/SINT and R9G9B9E5 texture to texture, without the buffer #1730
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1730
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@101Leafy on GitHub · 2026-11-28 23:46 UTC · original
101Leafy:nv/alias-direct→main· +80 −35 · 11 files · 4 commits · merged 2026-11-29 08:16 UTCD3D12 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.f173768c80to1ef976c324@eleboucher on GitHub · 2026-11-29 07:36 UTC · original
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.