Skip to content

CI: shader tests raw heap views - #2

Closed
LICObr wants to merge 1 commit into
upstream-mainfrom
shader-tests/raw-heap-views
Closed

LICObr wants to merge 1 commit into
upstream-mainfrom
shader-tests/raw-heap-views

Conversation

@LICObr

@LICObr LICObr commented Nov 24, 2026

Copy link
Copy Markdown
Owner

CI run on the fork before the upstream PR.

@LICObr
LICObr changed the base branch from main to upstream-main November 24, 2026 23:21
@LICObr LICObr closed this Nov 24, 2026
@LICObr LICObr reopened this Nov 24, 2026
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
LICObr force-pushed the shader-tests/raw-heap-views branch from fe525b6 to dd25e37 Compare November 25, 2026 11:32
@LICObr LICObr closed this Nov 25, 2026
@LICObr LICObr reopened this Nov 25, 2026
@LICObr

LICObr commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

CI done; upstream PR is Marvisak#2357.

@LICObr LICObr closed this Nov 25, 2026
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