Skip to content

Recognize fetch-inactive Wave32 and Wave64 prefixes - #800

Draft
Kamiloj9 wants to merge 3 commits into
fxceless:mainfrom
Kamiloj9:codex/whole-wave-fi-prefix
Draft

Kamiloj9 wants to merge 3 commits into
fxceless:mainfrom
Kamiloj9:codex/whole-wave-fi-prefix

Conversation

@Kamiloj9

@Kamiloj9 Kamiloj9 commented Nov 25, 2026 •

Copy link
Copy Markdown

Change

Model opposite-row permutations in whole-wave sections when FI permits a modeled value from an inactive source lane. Preserve inactive destinations and reject untracked per-lane values from other lanes. The console compiler also emits the same form with OP_SEL bit 3 set. Admit it only for the observed upper-row EXEC masks and selectors that read the last lane of the opposite row. For Wave64, require full-wave lowering so the form stays unavailable to the independent half-wave retry.

Allow a split-wave v_readfirstlane_b32 under partial EXEC when the source is uniform across participating lanes and every observable use has the same guard. This preserves the first active lane's value in either populated half of the wave. The proof rejects varying inputs and values that escape the mask.

Verification

  • Symbolic checks cover both wave widths and reject incorrect selectors, masks, and independent half-wave lowering. Before hardware testing was paused, the Wave32 and coordinated Wave64 GPU fixtures matched scalar exclusive prefixes. The guarded first-lane fixture matched all 64 outputs across eight EXEC limits.
  • The captured CS_VirtualTable_SortJobs translated, validated, created a host compute PSO, and bound in an integrated replay. An isolated RTX test of the captured CS_GenerateShaderBinOffsets verified both allocation counters and non-overlapping per-bin prefixes across 11 inputs, with both optional-stream modes and up to 16,386 bins. WARP rejected creation of the captured bin-offset PSO, and the original reserved-bit encoding remains unverified on AMD hardware.
  • The subsequent integrated replay created the bin-offset PSO and ended in the menu before any logged bind of that shader. Runtime stability and world rendering remain unverified. Hardware runs are paused following an unexpected system restart.
  • Independent review, targeted CPU checks and asset policy passed. This draft is independent of Certify an experimental Wave32 transmission prefilter #419 and Certify Wave32 LDS synchronization for visibility dispatch #368.

@Kamiloj9 Kamiloj9 changed the title Recognize a fetch-inactive Wave32 prefix in the shader simulator Recognize fetch-inactive Wave32 and Wave64 prefixes Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant