upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/process.cpp
diff options
context:
space:
mode:
authorParakeet-Wheat <227350947+Parakeet-Wheat@users.noreply.github.com>2026-11-22 09:54:18 +1100
committerParakeet-Wheat <227350947+Parakeet-Wheat@users.noreply.github.com>2026-11-22 09:55:11 +1100
commit257e3856cc62ce5fad18d8d7f48f585bf635f93e (patch)
tree6f44167599f3ad61c0e4bab6a26451f09f384144 /runtime/shims/process.cpp
parent8bd0087d2d0e45fc18fa78fb40b70ecfc6648854 (diff)
Runtime: GetResourceAllocationInfo on the Vulkan device (D3D-23)
GetResourceAllocationInfo, GetResourceAllocationInfo1 and GetResourceAllocationInfo2 were generated stubs. Buffers take their width rounded up to 64 KiB. A texture's size is what its VkImage needs (vkGetDeviceImageMemoryRequirements, or a throwaway image without it), rounded up to its D3D12 alignment: 64 KiB, 4 MiB with MSAA, or the small alignment the description asks for. A 4 KiB request that doesn't qualify is invalid, as on the PC runtime; the MSAA 64 KiB one has no size limit there. Texture creation and these queries share one VkImageCreateInfo. d3d12_vulkan_device_test compares buffer sizes, alignments and invalid descriptions with the host PC runtime, and checks the per-resource layout of the Device4/Device8 variants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions