mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #238] d3d12_vulkan_device_test: query ID3D12Device10 on inner device to avoid slot 78 SetFrameIntervalX shadow #290
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#290
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/238
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9970📝 Commits (1)
c3617cfd3d12_vulkan_device_test: query ID3D12Device10 on inner device to avoid slot 78 SetFrameIntervalX shadow📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
runtime/test/d3d12_vulkan_device_test.cpp(+3 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):What and why
On \main\ (\
2d53a8055), \d3d12_vulkan_device\ fails at line 6576:\\
[rt] d3d12_xs: device slot 78 (Xbox SetFrameIntervalX) first call
[rt] d3d12_xs: device slot 78 routed to SetFrameIntervalX (...)
line 6576: tiles == 1
\\
\d3d12_vulkan_device_test.cpp\ queried \ID3D12Device10\ from \device\ (the Xbox device proxy), then called \device10->CreateReservedResource2(...). On the Xbox device proxy, vtable slot 78 (PC \ID3D12Device10::CreateReservedResource2) is intentionally shadowed by Xbox \SetFrameIntervalX\ (commit \
2dbcb882c), which returns \S_OK\ without creating the resource—leaving \ wo.p == nullptr\ and \GetResourceTiling\ returning \ iles == 0.Querying \ID3D12Device10\ on \inner\ (the underlying PC device) tests \CreateReservedResource2\ directly without hitting the Xbox proxy's slot-78 shadow.
Verification
#9857applied to build on MSVC):🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.