[pr-fix][rendering][shaders] Shadows: the remaining translated CS_ShadowRenderTiled programs as lane pairs on 32-lane hosts (bright blocks around the head) #701
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!701
Loading…
Reference in a new issue
No description provided.
Delete branch "untried844/Darner:tiled-shadows-pairs"
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?
What it changes
post-merge: a ring of bright blocks around a character's head (and at other near/far edges) where the sun shadow is missing, on a 32-lane host. No issue open for it; seen under a building in shadow, camera looking down at the character.A frame capture (
--features diagnostics, F7) shows the blocks in the 1712x960 sun shadow mask that theCS_ShadowRenderTiled*family writes: lit fragments in the tiles that hold both the head and the ground behind it, before any lighting reads it.Six programs of the family already take
Rule::LanePairsinby_hash/whole.rs, for their wave-wide votes. This gives the same rule to the other eleven translated ones (Misc,MiscCB,CascadesAlpha,MiscAlpha, the fourMiscHair*,MiscPPPC,MiscCBPPPC,CascadesAlphaPPPC).CS_ShadowRenderTiledCascades191ecaed66eea3b1runs as a replacement and is not touched.Not narrowed further: the four hair programs alone as lane pairs did not remove the ring; adding the other seven did. Which of the seven is enough was not tested.
How it was tested
Tested revision: this commit on
post-merge28a9b42, in a build that also held my other local changes.Commands and results:
cargo build --release --locked -p darneron this branch alone: builds.darner translatewithDARNER_HOST_MAX_WAVE=32and a temporary probe: all seventeen programs are accepted in the paired form with 32-lane waves.Changes a default: yes, for 32-lane hosts (NVIDIA). These eleven programs are translated again once.
A/B result, same save and spot, same settings:
Checks run on that revision:
cargo build.cargo test -p darner-shaderhas no tests on this line.cargo clippynot run.Gameplay: Intel Core i9-13900K · 32 GB DDR5-6400 (2 sticks) · NVIDIA GeForce RTX 4090 24 GB, driver 621.40 · Windows 11 Pro build 26300. Series X profile, 2560x1440 output, DLSS Quality (1712x960 render) and DLAA, HDR on, frame generation 2x, hardware ray tracing.
Hardware dependence: may depend on the host's wave size; untested on other cards.
Coverage gaps: one card, one place. Frame time not measured (the paired form costs something; #504 on
Mainmeasured the same family folded within noise on an RTX 4080).Checklist
post-merge(28a9b42).Checked for overlap
Main, by folding; that switch does not exist onpost-merge), #43 (the paired form onMain)post-mergeThe change was written with a coding agent (AI-assisted) and run by me in the game.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.