mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:40:52 +01:00
[PR #820] d3d12_xs: implement IDXGIDevice::QueryResourceResidency on Xbox DeviceProxy #858
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#858
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/820
Author: @kotekompotek
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:work/d3d12-xs-dxgi-query-residency📝 Commits (1)
9ae8a58d3d12_xs: implement IDXGIDevice::QueryResourceResidency on Xbox DeviceProxy📊 Changes
3 files changed (+108 additions, -10 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+4 -1)📝
runtime/shims/d3d12_xs_device.cpp(+36 -8)📝
runtime/test/dxgi_device_test.cpp(+68 -1)📄 Description
Claimed in the coordination issue as: DXGI-QUERY-RESIDENCY (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149)
What and why
main.IDXGIDevice::QueryResourceResidencyon the XboxDeviceProxy:dxgi_query_resource_residencyverifies each entry viaQueryInterface(ID3D12Pageable)+GetDevice()ownership againstDeviceProxy/owner->realbefore reportingDXGI_RESIDENCY_FULLY_RESIDENT(atomicE_INVALIDARGon null/non-pageable/foreign resources,S_OKoncount == 0with valid arrays matching Windows DXGI probe).runtime/test/dxgi_device_test.cppto test realID3D12Resource+ID3D12Heap+ foreign-device/non-pageable rejections across host WARP, host GTX 1050, and Vulkan, and synceddocs/d3d12_vulkan.md.Tested
device_proxy+dxgi_device(2/2 Passed).test_ctest_registration.py(4/4 OK) andtest_docs_*.py(OK).GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows) & Microsoft Basic Render Driver (WARP)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.