Repository navigation
Conversation
…l shaders Pixel shaders that wait for overlapping earlier waves read the SGPR after the primitive mask and src_pops_exiting_wave_id. Both now have a value (no overlap, nothing exited: the host orders nothing), so the wait is skipped. 10 PS_PedTexturedCutOutTint_Zero programs translate and validate.
Census of 2026-11-26: the 195 GS_VoxelizeGeneric failures drop no draws; the 10 POPS pixel shaders are fixed; the 5 CS_TraceShadowRays_* need view addresses by heap slot from leonida-gpu.
Contributor
|
Looks good to me. One question: the collision SGPR is found as the largest |
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.
What changed
R-7 (partial): the 10
PS_PedTexturedCutOutTint_Zeropixel shaders that failed with "emit: a hardware SGPR input" now translate. They wait for earlier waves of overlapping pixels (POPS) and read the SGPR after the primitive mask andsrc_pops_exiting_wave_id; both now read as "no overlap" (markedshortcut:, the host orders nothing), so the wait is skipped. The R-7 row and the fork notes record the 2026-11-26 recount: the 195GS_VoxelizeGenericfailures drop no draws, and the 5CS_TraceShadowRays_*need view addresses by heap slot fromleonida-gpu.How it was tested
Checks run on this branch:
cargo test --workspace --locked: 656 passed, 0 failed, 18 ignored (run with-j 2 -- --test-threads=4)cargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo xtask policyNew unit test:
io::tests::ordered_pixels_read_the_collision_sgpr(the SGPR is an input only when the shader readssrc_pops_exiting_wave_id).Full
leonida translate --list --validate --jobs 2with a release build, compared program by program with the census of the base tree (together with the lane-mask fix sent as a separate PR):No program that translated before fails now, and none changed its cause. The 216 DXIL validator failures are the same 216 programs, with the same messages, on the base commit; none of the 10 fixed shaders is among them.
AI