docs: native mesh frontend refusal and acceptance rules #3449

Manually merged
github merged 4 commits from github-bot/gh-3447 into main 2026-11-29 12:10:06 +00:00 AGit
Owner

@⁠Leyukaka on GitHub · 2026-11-29 09:43 UTC · original
Leyukaka:docs-mesh-frontend-rules → main · +63 −0 · 1 files · 4 commits · merged 2026-11-29 12:08 UTC

Part of #3418.

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

  • Exchange refusals (#3422): 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 (#3424): 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 (#3425): 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).

**@⁠Leyukaka** on GitHub · 2026-11-29 09:43 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3447) `Leyukaka:docs-mesh-frontend-rules` → `main` · +63 −0 · 1 files · 4 commits · merged 2026-11-29 12:08 UTC Part of #3418. Adds `docs/experiments/native-mesh-frontend-rules.md`, a note on what the C++ mesh frontend behind `gfx1013-raw-ms` accepts and refuses after #3422, #3424 and #3425, written against main at `1a0120ba`. - **Exchange refusals (#3422)**: 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 (#3424)**: 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 (#3425)**: 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 09:45:41 +00:00
github manually merged commit fe1c1d312d into main 2026-11-29 12:10:06 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.