mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:30:53 +01:00
[PR #122] [CLOSED] runtime: fix MSVC build failures in acphal and console descriptor heap shims #174
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#174
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/122
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/9857📝 Commits (1)
58a4b58runtime: fix MSVC build failures in acphal and console descriptor heap shims📊 Changes
5 files changed (+45 additions, -17 deletions)
View changed files
📝
runtime/shims/acphal.cpp(+2 -2)📝
runtime/shims/d3d12_vulkan_device.cpp(+3 -1)📝
runtime/shims/d3d12_xs_device.cpp(+21 -7)📝
runtime/shims/d3d12_xs_device.h(+8 -0)📝
runtime/test/d3d12_console_descriptor_heap_test.cpp(+11 -7)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):What and why
On \main\ (\
2d53a8055), building the runtime on Windows with MSVC 19.44 fails in four files introduced by commits \ccd36246f\ and \3630610ca:untime/shims/acphal.cpp**: \SHAPE_XMA_CONTEXT\ (60 bytes) and \SHAPE_PCM_CONTEXT\ (28 bytes) were each one \uint32_t\ short of their GDK \static_assert\ sizes (64 and 32 bytes). Updated
eserved[10]\ ->
eserved[11]\ and
eserved[1]\ ->
eserved[2].
untime/shims/d3d12_xs_device.h\ / \d3d12_xs_device.cpp**:
t::d3d12::create_console_descriptor_heap\ directly without declaring it and broke linking in targets that compile \d3d12_xs_device.cpp\ without \gta6rt_d3d12_com\ (
oot_sig_test, \device_proxy_test, \xs_proxy_mock_test, \pe_loader_test, etc.). Replaced with a registered \ConsoleDescriptorHeapHandler\ (\set_console_descriptor_heap_handler), matching the existing \PlacedAtVaHandler\ pattern.
untime/shims/d3d12_vulkan_device.cpp**:
untime/test/d3d12_console_descriptor_heap_test.cpp**:
Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.