mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #360] [MERGED] d3d12_vulkan_device: accept the console's 0x40-byte D3D12_OPTIONS query (RT-XS-DEVICE-VM-OPTIONS) #412
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#412
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/360
Author: @Andretuta
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:feat/xs-device-vm-options📝 Commits (2)
028001cd3d12_xs: fill D3D12ConfigureVirtualMemoryX VA bounds, 0x40-byte D3D12_OPTIONS and Xbox slots 81/86/108 (RT-XS-DEVICE-VM-OPTIONS)bff649bMerge remote-tracking branch 'ubiq/main' into feat/xs-device-vm-options📊 Changes
2 files changed (+31 additions, -18 deletions)
View changed files
📝
runtime/shims/d3d12_vulkan_device.cpp(+25 -18)📝
runtime/test/d3d12_vulkan_device_test.cpp(+6 -0)📄 Description
Claimed in the coordination issue as: RT-XS-DEVICE-VM-OPTIONS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7121196296)
What and why
Reduced after review to the part with a public measurement behind it:
CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS)(runtime/shims/d3d12_vulkan_device.cpp): accepts the 0x40-byte (16-dword) buffer console titles ask for (docs/d3d12_xs_surface.md§7.1: XCL measured the 0x40 request; the extra 4 bytes are unnamed) as well as the 0x3C-byte PC structure, fills the 15-field PC prefix and zeroes the trailing word. Coverage inruntime/test/d3d12_vulkan_device_test.cpp.Dropped from this pull request: the
D3D12ConfigureVirtualMemoryXVA bounds and device slots 86/108 (no measurement; slot 108 forwardedGetResourceAllocationInfo2'sD3D12_RESOURCE_DESC1array to PCGetResourceAllocationInfo). Slot 81 (GetFrameStatisticsX) moved to #402, which owns the presentation slots.Tested
d3d12.hlacksID3D12GraphicsCommandList8, sod3d12_vulkan_device_testneeds the MSVC CI build.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.