docs: native mesh frontend refusal and acceptance rules #3447

Merged
Leyukaka merged 4 commits from upstream-pr/3447 into main 2026-11-29 12:08:32 +00:00
Leyukaka commented 2026-11-29 09:43:31 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T09:43:31Z.


Part of #3416.

Adds docs/experiments/native-mesh-frontend-rules.md, a note on what the C++ mesh frontend behind gfx1013-raw-ms accepts and refuses after #3420, #3422 and #3423, written against main at 1a0120ba.

  • Exchange refusals (#3420): the four fallback cases in src/gfx1013_direct_mesh.inl (group-index exchange, count exchange, group memory outside a proven exchange, generic unsupported instruction), with the condition that selects each and the three ds_* operations that take the generic message.
  • Partial writes at the count exchange (#3422): VGPRs still tracked as partial writes are cleared when the exchange restores full EXEC; a later read is refused as an undefined register.
  • VCC branches (#3423): which tracked values s_cbranch_vccz/s_cbranch_vccnz use, when a VOPC compare records them, what clears them, and the refusal without either proof.

Each rule cites the source lines and the tests/native_direct_mesh_check.py cases that cover it.

Docs only: one new file, no code or test change. Reproduce command in the note: ctest --preset dev --no-tests=error -R '^native_direct_mesh$'.

No index entry added: docs/experiments/README.md asks for one file per topic and does not require a link from docs/experiments.md.

Not covered: how many recorded mesh requests reach each refusal (not measured).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5549516418 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3447). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-29T09:43:31Z. --- Part of #3416. Adds `docs/experiments/native-mesh-frontend-rules.md`, a note on what the C++ mesh frontend behind `gfx1013-raw-ms` accepts and refuses after #3420, #3422 and #3423, written against main at `1a0120ba`. - **Exchange refusals (#3420)**: the four fallback cases in `src/gfx1013_direct_mesh.inl` (group-index exchange, count exchange, group memory outside a proven exchange, generic unsupported instruction), with the condition that selects each and the three `ds_*` operations that take the generic message. - **Partial writes at the count exchange (#3422)**: VGPRs still tracked as partial writes are cleared when the exchange restores full EXEC; a later read is refused as an undefined register. - **VCC branches (#3423)**: which tracked values `s_cbranch_vccz`/`s_cbranch_vccnz` use, when a VOPC compare records them, what clears them, and the refusal without either proof. Each rule cites the source lines and the `tests/native_direct_mesh_check.py` cases that cover it. Docs only: one new file, no code or test change. Reproduce command in the note: `ctest --preset dev --no-tests=error -R '^native_direct_mesh$'`. No index entry added: `docs/experiments/README.md` asks for one file per topic and does not require a link from `docs/experiments.md`. Not covered: how many recorded mesh requests reach each refusal (not measured).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!3447
No description provided.