GPU: preserve the resource minimum LOD in streamed texture views #1210
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1210
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1210"
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?
@BradRoland on GitHub · 2026-11-26 00:10 UTC · original
BradRoland:codex/resident-mip-clamp→main· +22 −23 · 1 files · 1 commits · openWhen levels on demand hides an unbacked mip,
show_frommoves the start of the shader view and also lowers the title’sResourceMinLODClamp. With mip 0 unbacked and a minimum of 3, the adjusted view consequently samples mip 2. The minimum is expressed in resource mip coordinates. This change preserves it for 2D and 2D-array views. D3D12 texture view documentationCredit to teecil for identifying the coordinate issue in the pending resident-range change. I reproduced it independently on current main using the existing reserved-texture fixture, which exercises the path added in #747. Original report on #1031
The fixture fills each mip with a different byte and samples LOD 0 through both descriptors. Results matched on a GeForce RTX 4080 (621.14) and WARP, with the D3D12 debug layer enabled.
All three ordinary tile tests and 29 descriptor tests passed. The full opt-in tile test passed on each adapter. This was a synthetic run. In-game impact is unmeasured.
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.