Repository navigation
experimental: shader: accept a proven second vertex EXECZ into a scalar-tail join (draft, do not merge) - #3880
Draft
SimSalabimse wants to merge 3 commits into
Draft
SimSalabimse wants to merge 3 commits into
SimSalabimse wants to merge 3 commits into
Conversation
Name the opcode and clause on both vertex EXEC-region refusals, and allow image_gather4_l and image_gather4_c_lz inside a masked vertex arm. Other entries, stores, exports and branches that leave the arm stay refused. AI-assisted (Cursor) Co-authored-by: SimSalabimse <SimSalabimse@users.noreply.github.com>
A prefix s_branch into the join is not classified as a scalar-tail entry, so the join is refused as a wave or control-flow instruction. Extra proven join execz instructions are accepted, not only the first one after the region's skip. AI-assisted (Cursor) Co-authored-by: SimSalabimse <SimSalabimse@users.noreply.github.com>
…c-region # Conflicts: # src/gfx1013_direct_graphics.inl
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.
Draft, do not merge. Experimental piece of the native graphics path work (getting the native shader path to draw real frames). Based directly on current
main; it does not stack on another PR.What it changes
Vertex EXEC regions in the native graphics lowering (
src/gfx1013_direct_graphics.inl):EXECZis accepted when it enters a scalar-tail join, not only the first one after the region's skip.image_gather4_landimage_gather4_c_lzare allowed inside a masked vertex arm.native_direct_containerfixtures are aligned with the lowered refusals (a prefixs_branchinto the join is still refused).New test family:
tests/cmake/native_graphics_vertex_exec_region.cmake(native_graphics_vertex_exec_region_warpand_hardware, synthetic fixtures built from this repository).Tests
Run on the Windows test PC, Debug build of
mainplus these two commits, GPU tests one at a time:native_graphics_vertex_exec_region_warpandnative_graphics_vertex_exec_region_hardware: pass.native_direct_container: passes.^(native_graphics_|native_direct_|native_fixed_)|native_.*_(ir|dxil|controls)$: 217 of 217 pass.Not measured: whether any title shader reaches the newly accepted shape. The change is synthetic-fixture coverage only, hence experimental.
AI-assisted (Cursor)