Repository navigation
Conversation
Port pixel POPS/ROV support from upstream VIctory with two refinements: - Track pixel shader initialized SGPR bounds in io::raise (user SGPRs, primitive mask, and POPS collision id) and seed the primitive mask as 0 and the POPS collision id (when DB_SHADER_CONTROL bit 16 is set) as 1 << 16. Using wave_id = 1, collision_id = 0, overlap = 0 satisfies the hardware invariant wave_id != collision_id so both the fast-path overlap check and the wrap-around wait test (wave_id + ~collision_id <u exiting + ~collision_id) pass immediately when src_pops_exiting_wave_id (operand 239) is 0, avoiding a LOOP_LIMIT spin on inactive lanes. - Annotate table/heap UAV handles in POPS pixel shaders with DXIL IsROV (0x2000), emit ShaderFlags::ROVS (1 << 18) and SFI0 0x1000, and track ROV usage in bitcode::opt::Usage so dead-code elimination keeps flags accurate. - Add synthetic test ordered_pixel_sections_use_rasterizer_ordered_views covering both the POPS wait loop and non-POPS refusal. Eliminates all 10 remaining 'emit: a hardware SGPR input' failures (10/10 validated and D3D12 pipelines created).
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.
Port pixel POPS/ROV support from upstream VIctory with two refinements:
Eliminates all 10 remaining 'emit: a hardware SGPR input' failures (10/10 validated and D3D12 pipelines created).