Watch textures in composited frames #4993
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!4993
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4992"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 16:47 UTC · original
andrewpozdnakov7-jpg:codex2/fix/popwatch-composited-frames→main· +52 −19 · 2 files · 1 commits · openFixes #4989 for the 8-bit formats supported by the watcher.
What it changes
When the plane compositor is active, the texture pop watcher now reads the composed 8-bit frame from the back buffer. The read happens in the same present list, before the local overlays are drawn. The back buffer is returned to its previous state after the read. Direct presents keep using their source texture.
A recycled read-back buffer must match the new frame's dimensions and format. The watcher still runs only within the configured time window and its existing queue limit. A changing display overlay can contribute to the counts.
How it was tested
5fabb46eand36e6a26a, with stub D3D12 calls. Main recorded no composed read. The patch recorded the back-buffer read between the two transitions, restored the state when no read was returned, and recorded no barriers outside the watch window. Direct reads still used the original source. Tested a pool with different sizes and RGBA/BGRA formats.cargo check --locked -p victory-gpu --features diagnosticsandcargo xtask policy --stagedpassed on Windows.Checked for overlap
VICTORY_POP_WATCH, and the affected files. #3488 wraps the copy call with its checked-copy helper. #4659 changes the swap-chain format. Neither adds the composed source to the watcher.@CLHelper, the setup in #4989 could confirm that the composed presentation now produces pop-watch lines.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI 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.