Shaders: Translate bindless buffer address reads in ray-tracing shaders (fixes 3 previously failing translates) #1809
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1809
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1809"
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?
@rastapasta on GitHub · 2026-11-29 00:14 UTC · original
rastapasta:fix/shader-descriptor-data→main· +1772 −1469 · 10 files · 2 commits · merged 2026-11-29 08:16 UTCFixes the descriptor-read failures reported in #154 and #1396.
What it changes
Five shadow-ray compute shaders read a guest buffer address from a descriptor selected at run time. The translator could recover the address from a fixed table slot. A computed heap slot failed with
a descriptor read only as data.The host now mirrors guest buffer and acceleration-structure addresses by heap slot, including each buffer view’s first-element offset. The emitter reads the mirror when it can prove that the four-dword load starts on a descriptor boundary and that the shader extracts an address in 256-byte units. Copies, replacements and clears update the mirrored address. Out-of-range indices read zero. Descriptor-data lowering moves into its own module to keep the main emitter within the repository’s file-size limit.
How it was tested
d4b5d510xae80.cargo xtask policypassed. Workspace Clippy still reports the unusedcolourbinding and manual checked division seen in the base CI run.Checked for overlap
@johanncastro759-crypto on GitHub · 2026-11-29 05:09 UTC · original
hi bro, this fork I didn't solve the problem;(
