Repository navigation
tests: verify formatted buffer loads in slot 57 mesh draws - #2576
Open
RavenCurseBurg wants to merge 1 commit into
Open
RavenCurseBurg wants to merge 1 commit into
RavenCurseBurg wants to merge 1 commit into
Conversation
…selector Part of R0Y00#2413 (T3). AI-assisted with Codex (GPT-6.2 Astra, xhigh).
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.
Part of #2413, T3. The accepted slot 57 mesh shape already lowers a single-component
buffer_load_format_xthrough the shared MUBUF path. This adds a source-built readback for that path and its descriptor dependency. Claim and scope.The fixture inserts a gfx1013 formatted load after the raw vertex-colour load. The load replaces red, so the other three channels are independent controls. The host test checks the published buffer SRV and its
descword3source, then checks that overwriting descriptor word 3 in the guest program produces the expected refusal.The new WARP and hardware CTests read the constant locations from the published manifest. They draw the same compiled mesh/pixel pair with the same 512 bytes of input. Changing only descriptor word 3 selects R32_FLOAT X, RGBA8_UNORM X, or RGBA8_UNORM Z. The CPU reference obtains the expected channel directly from the fixture bytes and rasterizes all 1,024 pixels. The existing raw-draw CTest keeps its own time budget. Same-guest-list loading and indirect forwarding are tracked under R1.
Verification
git diff --checkpassed.AI-assisted with Codex (GPT-6.2 Astra, xhigh).