shader: name the whole-wave section step the simulation does not follow #121
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/121"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Olima34 on 2026-11-26T17:30:45Z.
For the #4 shape "whole-wave section step the simulation does not follow" (7 refusals). This is a refusal split (diagnostic), not a lowering. The simulation drops whatever step it does not model, so nothing can be lowered safely without knowing the step.
What.
emit::wave::simulatenow also returns the first step it does not model (Section::why).section_instrefuses with "a whole-wave section step the simulation does not follow: " followed by one of:When every step is modelled, the message ends "a value that is no reduction or prefix" instead. The shapes the simulation finds are unchanged. The doc says the first step not modelled is a hint, not proof.
Tests.
whole_wave_sections_name_the_step_they_do_not_follow(gfx_refusal):v_mul_f32gives the VALU message, andv_mov_b32_dpp row_shr:1gives "no reduction". It fails on main with the old message.pipeline::pieces_tests::the_host_refuses_a_whole_wave_section_naming_its_step(victory-gpu): the same two programs on the native host's path. The container is built from the title's compute pieces (compute_container) and translated with the host's options (native::shaders::translate). It checks that the refusal string, the text the refusal log line shows, ends with the specific cause. It fails on main.In the #110 Series S log: bf8467abe00be277 @0xc1c, d7cbf5c5680197fd @0xc58, f0c2cd42c9188fc3 @0x1ac. The next refusal report will say which step to model.
victory-shader (242) and victory-gpu (arm64) tests, Windows clippy and
cargo xtask policypass.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-26T18:09:54Z.
Merged, thanks. #121 and #122 each added the same pieces helper to
pipeline.rs, so I kept one,container_of(f57d5ad).