Skip to content

Preserve acceleration structure Location in fixed-table shader constants - #8

Draft
FermentoCode wants to merge 2 commits into
nvidia-wave-compatfrom
fix/as-view-location
Draft

FermentoCode wants to merge 2 commits into
nvidia-wave-compatfrom
fix/as-view-location

Conversation

@FermentoCode

Copy link
Copy Markdown
Owner

Adapted from moe-miau’s upstream VIctory PR #2098 for the fixed-table binding path in this fork.

An acceleration structure shader resource view can carry its GPU location in the descriptor while the resource argument is null. The generic buffer-range lookup yielded zero for this case. Read both halves of the declared location when serving the shader constants. Other view dimensions continue through their existing lookup.

The CPU regression copies an AS descriptor within a table, checks both halves of the resulting location and exercises same-slot replacement with a null texture and a structured buffer. The focused diagnostic build test passed on Windows. Dynamic BVH builder execution and visible scene lighting are outside this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant