Skip to content

P0: establish coherent geometry stream backing for native Mesh86 #3763

Backlog

Description

@R0Y00

Merged coverage and remaining blocker

#3764 fixes staged primitive index decoding. #3807 enables indexed raw SRVs for Mesh86 table buffers and verifies expected stride, wrong stride and missing backing with source-built fixtures. These fixes do not establish equivalence between the CPU and GPU bytes in the sampled geometry streams. #3776 remains under review for copy ordering and stale-page handling. Keep the matched-run rasterization and VRAM acceptance checks below.

Refs #870, #3639, #3640, #3641 and #3703.

Current evidence

Four native C++ Mesh86 pipelines recorded direct dispatches and the sampled lists reached GPU fences. All 48 sampled dispatches had zero pixel shader invocations. Selected stream SRVs read different bytes on the CPU and the GPU. Some sampled triangles were wholly outside the clip volume and others yielded degenerate indices. The tested committed-buffer refresh passed its fixture. The mismatched scene streams did not exercise that path.

Acceptance

  • Trace one failing geometry SRV from the guest descriptor, byte offset and mapping generation through resource placement and writes to the GPU consumer. Record which version of the data each queue sees.
  • Fix the identified backing or mapping lifetime with source-built CPU-authored and GPU-authored controls. Include remap or reuse, partial updates and cross-queue ordering. Preserve GPU-authored bytes.
  • On a matched local run, demonstrate a nondegenerate in-frustum triangle, nonzero pixel invocations, and the associated color or depth change. Track presentation at P0: verify a submitted Mesh86 scene draw through presentation #3641.
  • Use the native C++ path and retain existing caches. Measure committed VRAM, bytes copied, and median and p95 frame time on the same adapter. Use bounded work and existing ownership and fence tracking. Keep diagnostics opt-in. Keep public evidence title-neutral and publish only source-built artifacts.

Activity

  1. added
    help wanted
    priority: P0
    on Dec 1, 2026
  2. Leyukaka commented on Dec 1, 2026

    @Leyukaka
    Collaborator

    I'd like to take the first acceptance item: trace one failing geometry SRV from the guest descriptor, byte offset and mapping generation through resource placement and the writes that reach it, to the GPU consumer, and record which version of the data each queue sees. I'll report counts and any mismatch the trace identifies here, without changing the backing. In my current local runs the four Mesh86 pipelines are selected but their material SRV binding is refused because an input is in a placed buffer that does not alias guest memory, so no DispatchMesh is recorded yet; I'll run the trace with #3725 (715b84f0) applied locally, since it targets that refusal.

    @Not-Saii, this sits next to your #3640 trace of the large placed buffer. I'll keep to the geometry stream SRVs. If the trace lands on that same buffer, I'll post the evidence here and on #3640 before any fix is chosen. If you'd prefer a different split, tell me. I'm not touching #3764 (edge flags) or #3725 (placed material SRV refresh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedpriority: P0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions