d3d12_xs: expand command list vtable capacity to cover extended Scarlett slots #359

Closed
github-bot wants to merge 1 commit from gh-pr/359/head into gh-pr/359/base
Owner

@⁠FilimonEnc on GitHub · 2026-11-24 05:43 UTC · original
FilimonEnc:feat/d3d12-xs-cmdlist-vtable-expansion → main · +6 −1 · 1 files · 1 commits · closed without merging

Expands the command list wrapper vtable capacity in crates/compat/d3d12_xs/src/cmdlist_wrap.rs:

  • Increases const N from 128 to 256 to prevent out-of-bounds indexing on high-offset Xbox Series X|S vtable calls (slots >= 128).
  • Adds unit test table_capacity_covers_extended_xbox_slots.
  • Verified with pr_gate.py (0 problems).
**@⁠FilimonEnc** on GitHub · 2026-11-24 05:43 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/359) `FilimonEnc:feat/d3d12-xs-cmdlist-vtable-expansion` → `main` · +6 −1 · 1 files · 1 commits · closed without merging Expands the command list wrapper vtable capacity in crates/compat/d3d12_xs/src/cmdlist_wrap.rs: - Increases const N from 128 to 256 to prevent out-of-bounds indexing on high-offset Xbox Series X|S vtable calls (slots >= 128). - Adds unit test table_capacity_covers_extended_xbox_slots. - Verified with pr_gate.py (0 problems).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:20:07 +00:00
github-bot closed this pull request 2026-11-26 06:20:07 +00:00
Author
Owner

@⁠omonkeyz on GitHub · 2026-11-25 13:51 UTC · original

Thanks. #334 makes the same 128 to 256 change together with handlers for slots 131/132 and was applied, so this one is superseded.

**@⁠omonkeyz** on GitHub · 2026-11-25 13:51 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/359#issuecomment-7164386047) Thanks. #334 makes the same 128 to 256 change together with handlers for slots 131/132 and was applied, so this one is superseded.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.