Repository navigation
Optionally preserve disjoint shadow refresh ranges - #10
Draft
FermentoCode wants to merge 1 commit into
Draft
FermentoCode wants to merge 1 commit into
FermentoCode wants to merge 1 commit into
Conversation
Backport the per-shadow interval union integrated by DoubleD17 in Trexies VIwork, based on Aydan (aycow)'s fix and pablogonz12's reproduction. Enable with VICTORY_DISJOINT_REFRESH=1. Keep the existing bounding span by default while downstream scene comparisons are evaluated. Include interval union and legacy-mode CPU tests, plus an explicitly run D3D12 readback fixture that verifies the untouched gap and later refresh. Original fix: Marvisak/VIctory#1818 Upstream backport and tests: fxceless#591 Trexies integration: Trexies@3cd984d Original report: Marvisak/VIctory#185
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Downstream backport of the disjoint range refresh from Trexies VIwork. Credit to DoubleD17, Aydan (aycow), and pablogonz12. Related work is in Marvisak #1818 and fxceless #591.
Set
VICTORY_DISJOINT_REFRESH=1to refresh only requested intervals in a shadow buffer. The default retains the previous behavior.In a bounded D3D12 fixture on RTX 3090 Ti and WARP, the guarded test build copied 128 KiB of requested outer pages. The intervening page kept its previous contents until explicitly requested. The control refreshed all 192 KiB. The clean downstream port builds offline and passed its five focused CPU tests.
One guarded 1080p checkpoint comparison per mode, frames 1920–2039, measured 4.15 FPS / 293 ms p95 (control) and 4.11 FPS / 263 ms p95 (enabled). Mean draw counts and rendered surfaces differed. This comparison does not establish an FPS improvement or correct scene lighting. No title assets or captures are included.