P0: verify a submitted Mesh86 scene draw through presentation #3643

Open
opened 2026-11-30 19:17:19 +00:00 by github-bot · 1 comment
Owner

@⁠R0Y00 on GitHub · 2026-11-30 19:14 UTC · original

Merged coverage

#3766 corrects staged primitive indices, and #3809 adds indexed raw SRV binding for both mesh and pixel stages. Source-built controls cover rasterization with the expected stride and refusal with mismatched or missing backing. The historical local run below still had zero pixel shader invocations. #3765 remains the dependency for a visible scene sample.

Current scope

The four sampled native Mesh86 PSOs now reach the GPU fence in a local C++ working tree. The latest sample recorded 48 dispatches with zero pixel shader invocations. #3765 tracks geometry stream coherence and the first rasterized output. This issue tracks same-dispatch color or depth through presentation once that output is available.

Refs #870, #3543, #3312 and #3640. Depends on resolving the first blocking binding in #3641 or #3642 for the selected draw. Target main.

The native C++ runtime created and selected four desktop Mesh86 PSOs in a local run. The direct slot 129 handler received calls with those PSOs. Each sampled draw stopped at resource binding, with zero records and zero submissions. Direct submission with a 24 MiB committed SRV passed an isolated local adapter probe. Visible scene output remains unverified.

  • Use a fixed profile and correlate one target draw's PSO, group counts and list recording ID across bind, close and queue submission.
  • Read back a known target region before composition on the same frame. Show a color or depth change caused by the selected draw, with a skipped-draw control.
  • Trace the result into a presented frame. Report source-built results, local scene observations, head commit, driver, debug-layer state and any refusal independently.
  • Keep indirect argument producer work tracked in #3312 and fixed-slot mesh translation tracked in #3418.

Performance and code quality

  • Keep draw capture and GPU readback opt-in and bounded to the selected frames. Check that the normal C++ rendering path avoids diagnostic allocations, readbacks and CPU waits when tracing is disabled.
  • Measure CPU and GPU frame time and peak VRAM under matched scene, adapter and settings with diagnostics disabled. If the baseline cannot submit the selected draw, report the added work separately from overhead. Reuse existing submission and capture helpers and make the skipped-draw control repeatable.

Keep public evidence title-neutral and use source-built fixtures.

**@⁠R0Y00** on GitHub · 2026-11-30 19:14 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3641) ## Merged coverage #3766 corrects staged primitive indices, and #3809 adds indexed raw SRV binding for both mesh and pixel stages. Source-built controls cover rasterization with the expected stride and refusal with mismatched or missing backing. The historical local run below still had zero pixel shader invocations. #3765 remains the dependency for a visible scene sample. ## Current scope The four sampled native Mesh86 PSOs now reach the GPU fence in a local C++ working tree. The latest sample recorded 48 dispatches with zero pixel shader invocations. #3765 tracks geometry stream coherence and the first rasterized output. This issue tracks same-dispatch color or depth through presentation once that output is available. Refs #870, #3543, #3312 and #3640. Depends on resolving the first blocking binding in #3641 or #3642 for the selected draw. Target `main`. The native C++ runtime created and selected four desktop Mesh86 PSOs in a local run. The direct slot 129 handler received calls with those PSOs. Each sampled draw stopped at resource binding, with zero records and zero submissions. Direct submission with a 24 MiB committed SRV passed an isolated local adapter probe. Visible scene output remains unverified. - [ ] Use a fixed profile and correlate one target draw's PSO, group counts and list recording ID across bind, close and queue submission. - [ ] Read back a known target region before composition on the same frame. Show a color or depth change caused by the selected draw, with a skipped-draw control. - [ ] Trace the result into a presented frame. Report source-built results, local scene observations, head commit, driver, debug-layer state and any refusal independently. - [ ] Keep indirect argument producer work tracked in #3312 and fixed-slot mesh translation tracked in #3418. ## Performance and code quality - [ ] Keep draw capture and GPU readback opt-in and bounded to the selected frames. Check that the normal C++ rendering path avoids diagnostic allocations, readbacks and CPU waits when tracing is disabled. - [ ] Measure CPU and GPU frame time and peak VRAM under matched scene, adapter and settings with diagnostics disabled. If the baseline cannot submit the selected draw, report the added work separately from overhead. Reuse existing submission and capture helpers and make the skipped-draw control repeatable. Keep public evidence title-neutral and use source-built fixtures.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 19:17:20 +00:00
Author
Owner

@⁠lukaslw-lab on GitHub · 2026-12-01 05:47 UTC · original

Work split for 24 slot 86 mesh programs that the translator refuses before binding: #3705 (proof, loop design, claim list). In flight: #3704 (root SRV stride bit) and #3706 (v_cvt_i32_f32, v_mad_f32). Still open: the scalar loop, idxen offen raw loads, and the 2D table image load. These programs also need the root SRV binding of #3641.

**@⁠lukaslw-lab** on GitHub · 2026-12-01 05:47 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3641#issuecomment-7302135608) Work split for 24 slot 86 mesh programs that the translator refuses before binding: #3705 (proof, loop design, claim list). In flight: #3704 (root SRV stride bit) and #3706 (`v_cvt_i32_f32`, `v_mad_f32`). Still open: the scalar loop, `idxen offen` raw loads, and the 2D table image load. These programs also need the root SRV binding of #3641.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3643
No description provided.