Repository navigation
Conversation
The shader reads a heap buffer by element as the hardware does: element times the view's stride (the host's table) plus the offset, as a raw byte-address load. `a_heap_buffer_read_by_element_takes_the_views_stride` and `gathers_at_a_level_match_the_hardware` bound a structured view there instead (stride 12 and 16). A raw load through a structured view is outside what DXIL defines: WARP and AMD read the byte address, NVIDIA applies the view's stride on top and reads the wrong elements (Marvisak#1835). The host makes every heap buffer view raw (`descriptor/host.rs`), so the tests now bind raw views, and check what runs in the game.
LICObr
force-pushed
the
shader-tests/raw-heap-views
branch
from
November 25, 2026 11:32
fe525b6 to
dd25e37
Compare
Owner
Author
|
CI done; upstream PR is Marvisak#2357. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI run on the fork before the upstream PR.