[pr-fix][rendering][shaders] Preserve packed lighting history at shared texture stores #589
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!589
Loading…
Reference in a new issue
No description provided.
Delete branch "paales/preserve-packed-texel-history"
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?
Written by 🤖:
What it changes
A shader can select a packed R32_UINT view or a float UAV before a shared texture store. The translator uses the incoming control-flow edge to select the store type and preserves the execution mask. A valid packed word can have a float NaN bit pattern. Writing that word as a float can zero the lighting history.
How it was tested
c8258f955. Regression test9b300173dreads zero on hardware where the packed view requires0x7F800001.c76ff017e. WithDARNER_NAN_SCRUB=1,cargo test --profile fast --locked -p darner-shader --lib a_view_join_preserves_packed_and_float_texelspasses on the RTX 5070 Ti and WARP. The test also checks the float output.cargo xtask policy --staged. Workspace gates on the standalone branch are untested.Checklist
Checked for overlap
Also see his skin and shirt in the two examples.
Pull request closed