WIP: GPU-written texture mips kept, heat haze back with early depth, alias copy layout guard, hot-page tests #600
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!600
Loading…
Reference in a new issue
No description provided.
Delete branch "deama/Darner:pr/7-texture-mips-heat-haze-alias-copies"
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?
Not run in the game on Darner. Ported from a local VIctory-NVIDIA branch (before the rename). The game checks quoted below were made on that branch, not on this port.
Contributor role (optional)
What it changes
darner playleaves the heat-haze pass out entirely, together with face relocation.Six commits:
Preserve copied texture mips in submission order while refreshing untouched levels
Enable validated GPU-written mip preservation for normal play
Validate hot-page coherence and lifetime on software and RTX adapters
rendering: restore heat haze with the native early-depth correction
gpu: guard alias copy layouts and support controlled direct-copy comparisons
diagnostics: observe alias-copy overlap with write-capable bindings
DARNER_GPU_WRITTEN_MIPS=1: per-subresource ownership (after lobomfz/VIctory-xmem 2039e43). Levels the GPU wrote earlier in submission order are kept, and untouched levels are still refreshed. Atlas and external-write protection stay conservative. Masks are captured before parallel preludes, and this is merged with main's texture hoisting.darner playsets it to 1.Heat haze:
darner playandbuild-darner.ps1now leave out only face relocation (02384a60fda6f2d0). The heat-haze compute (731a39171b568298) runs, but the pipeline policy withholds it wheneverDARNER_EARLY_DEPTHis off, since it needs the native early-depth correction. With frame generation on or made ready, both stay left out as before. An explicitDARNER_LEAVE_OUTstill wins. The F1 row has three values, with new en and zh-CN strings.Alias copies: layouts are checked against the textures before reuse, and direct texture-to-texture copies can be compared in a controlled way (
DARNER_ALIAS_PROFILE,DARNER_ALIAS_OVERLAPdiagnostics).DARNER_ALIAS_DIRECTstays off here: turning it on by default is #282's change.Hot-page coherence and lifetime tests (software adapter, plus an RTX run when
DARNER_TILED_TEST_HARDWARE=1). Declared view ranges are labelled as estimates.How it was tested
58c3be48ea58c3be48ea(this branch's head), Windows 10 22H2 with its built-in Direct3D 12 (no Shader Model 6.6), Rust 1.98.1:cargo clippy --workspace --all-targets --locked -- -D warnings: passedcargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passedcargo --config 'profile.test.package.darner-shader.opt-level=3' test --workspace --locked --no-fail-fast(the opt-level only speeds up darner-shader's exhaustive float tests): 66 failed, all of which fail on unmodifiedmain(c8258f9556) on this PC too (darner-shader tests that need Shader Model 6.6).maintoo, so its tests were run in batches that survive the abort and compared one by one withmain(main: 1658 pass, 8 fail, 139 need Shader Model 6.6, 81 ignored): no test that passes onmainfails here, none removed; 73 new tests: 30 ignored, 43 pass.cargo xtask policy: ok on the PR 8 head, which contains this branch.darner playon every card: GPU-written mips are preserved, and heat haze runs without frame generation.Checklist
main. No: three rendering changes plus tests, stacked on the PRs below.docs/asset-policy.md.Checked for overlap
DARNER_ALIAS_DIRECTon by default; this PR leaves that switch to it and touches neighbouring code intexture.rs), #50 (refresh only CPU-written mips of BC textures: a different problem in the same file).WIP: [pr-fix][rendering] GPU-written texture mips kept, heat haze back with early depth, alias copy layout guard, hot-page teststo WIP: GPU-written texture mips kept, heat haze back with early depth, alias copy layout guard, hot-page testsView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.