runtime: accept strided table byte buffers and committed inputs in native slot 57 binding (Part of #2413, #3416) #3795

Merged
timbot103 merged 1 commit from upstream-pr/3795 into main 2026-12-02 05:34:55 +00:00
timbot103 commented 2026-12-01 22:56:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by timbot103 on 2026-12-01T22:56:18Z.


Part of #2413, #3416.

Unblocks native slot 57 DispatchMesh buffer binding (src/startup_stubs/native_mesh57.inl) for the three resource shapes identified on #2413:

Summary

  1. Strided native table byte-buffer descriptors: Allows non-zero stride ((words[1] >> 16) & 0x3fff) and non-
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5596148452 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3795). Originally posted by [timbot103](https://github.com/timbot103) on 2026-12-01T22:56:18Z. --- Part of #2413, #3416. Unblocks native slot 57 DispatchMesh buffer binding (src/startup_stubs/native_mesh57.inl) for the three resource shapes identified on #2413: ### Summary 1. **Strided native table byte-buffer descriptors:** Allows non-zero stride ((words[1] >> 16) & 0x3fff) and non-
R0Y00 commented 2026-12-02 05:34:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T05:34:41Z.

Review: APPROVED


Independently rebuilt startup_indirect_draw_indexed and xmem_shim on Windows 11 26300.9974, MSVC Debug. ctest --preset dev --no-tests=error -j 1 -R '^native_fixed_mesh57_(inputs_|buffers_|published_pair_)?(warp|hardware)$' --output-on-failure passed 8/8, and narrow/wide startup_indirect_mesh_cache_heap passed 4/4. WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 ran with the debug layer enabled. The three new positive cases each produced the expected pixel, while the short, oversize, wrong-kind and unaligned controls left all eight pixels clear.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6145308148 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3795#pullrequestreview-6145308148). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-02T05:34:41Z. **Review:** APPROVED --- Independently rebuilt `startup_indirect_draw_indexed` and `xmem_shim` on Windows 11 26300.9974, MSVC Debug. `ctest --preset dev --no-tests=error -j 1 -R '^native_fixed_mesh57_(inputs_|buffers_|published_pair_)?(warp|hardware)$' --output-on-failure` passed 8/8, and narrow/wide `startup_indirect_mesh_cache_heap` passed 4/4. WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 ran with the debug layer enabled. The three new positive cases each produced the expected pixel, while the short, oversize, wrong-kind and unaligned controls left all eight pixels clear.
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!3795
No description provided.