d3d12_vulkan_device_test: CreateReservedResource2 through the inner device (slot 78 is SetFrameIntervalX on the Xbox proxy) #262

Manually merged
github merged 2 commits from gh-pr/262/head into gh-pr/262/base 2026-11-26 08:51:00 +00:00
Owner

@⁠Pixel-Katana on GitHub · 2026-11-24 02:54 UTC · original
Pixel-Katana:fix/reserved2-through-inner-device → main · +3 −1 · 1 files · 2 commits · merged 2026-11-24 03:36 UTC

Fixes d3d12_vulkan_device on main: line 6576: tiles == 1.

2dbcb882c routes the Xbox proxy's slot 78 to SetFrameIntervalX; on the PC ABI that slot is CreateReservedResource2, which the test called through the proxy, getting S_OK and a null resource. It now calls it through the inner Vulkan device and checks the resource exists.

Tested: RTX 5080 (621.24), Windows 11: passes with and without LEONIDA_VK_VALIDATION=1. AI-assisted.

🤖 Generated with Claude Code

**@⁠Pixel-Katana** on GitHub · 2026-11-24 02:54 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/262) `Pixel-Katana:fix/reserved2-through-inner-device` → `main` · +3 −1 · 1 files · 2 commits · merged 2026-11-24 03:36 UTC Fixes `d3d12_vulkan_device` on `main`: `line 6576: tiles == 1`. 2dbcb882c routes the Xbox proxy's slot 78 to `SetFrameIntervalX`; on the PC ABI that slot is `CreateReservedResource2`, which the test called through the proxy, getting `S_OK` and a null resource. It now calls it through the inner Vulkan device and checks the resource exists. Tested: RTX 5080 (621.24), Windows 11: passes with and without `LEONIDA_VK_VALIDATION=1`. AI-assisted. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2dbcb882c (#6935) routes the Xbox-ABI device proxy's slot 78 to the console's SetFrameIntervalX. On the PC
ABI that slot is ID3D12Device10::CreateReservedResource2, which this test called through the proxy, so the
call answered S_OK with a null resource and GetResourceTiling of it gave 0: "line 6576: tiles == 1"
("d3d12_xs: device slot 78 routed to SetFrameIntervalX" in the log).

The Device10 call now goes through the inner Vulkan device, and the test checks that both resources were
created, so a success without an object fails at the call instead of at the tile count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:50:58 +00:00
github manually merged commit 5ab00f8003 into gh-pr/262/base 2026-11-26 08:51:00 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.