mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 16:08:37 +00:00
ID3D12DescriptorHeap::GetDesc and ID3D12Resource::GetHeapProperties echoed their inputs. On the host, a node mask of 0 reads back as 1 (one node), and a committed resource reports the heap flags the runtime resolves: its own flags, without CREATE_NOT_RESIDENT and CREATE_NOT_ZEROED, plus DENY_* bits for the resource classes it is not (buffers 0xC0, textures without render-target or depth use 0x44, the others 0x84). Measured with a probe on the default adapter (RTX 3060, driver 596.36) and WARP, Windows 10 19041 runtime. d3d12_node_mask_test compares 18 heap cases and 8 descriptor heap cases with the host on both; before this change every descriptor heap with node mask 0 and every committed buffer or texture differed on each reference. Not in ctest, like d3d12_resource_desc_test. AI-assisted (Claude Code). Tested: d3d12_node_mask_test with and without LEONIDA_VK_VALIDATION=1 (0 validation errors); full ctest, where d3d12_vulkan_device fails on CheckFeatureSupport shader model and root signature (Windows 10 host predates them, #816), as on main. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>