Conversation
Reads from a buffer view via goldy_dyn_buf_ro (SRV) where the view has a non-zero byte offset, producing FirstElement != 0 in the DX12 descriptor. This has been observed to return wrong data on WARP (reads from element 0 instead of FirstElement). Made-with: Cursor
The simple single-dispatch test passes on WARP, but Ekrano's full pipeline triggers the SRV FirstElement bug. Add a stress test with: - 8 pool buffers x 4 views each (32 views with FirstElement != 0) - 32 fill dispatches to churn GPU state before SRV reads - 8 SRV copy dispatches reading from high-offset views - 10 iterations This tries to reproduce the state-dependent WARP bug. Made-with: Cursor
Made-with: Cursor
The previous test filled pool data via UAV dispatches then checked against pre-fill expected values, causing failures on all backends. Rewrite so pool data is uploaded once via Buffer::with_data and never modified by dispatches. Churn dispatches write to independent buffers. Only the SRV read uses views with FirstElement != 0, so mismatches isolate the WARP SRV FirstElement bug specifically. Made-with: Cursor
Fill pool views via UAV (which works on WARP), then read back via SRV (which breaks on WARP when FirstElement != 0). Each of 8 views gets a distinct base value so we can tell exactly which offset the SRV read from. On correct hardware UAV and SRV agree; on WARP the SRV ignores FirstElement and reads view 0's data instead of the target view's. Made-with: Cursor
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.
No description provided.