Repository navigation
ID3D12CommandQueue::GetDesc: node mask 0 reads back as 1, as on the host - #992
Conversation
The host D3D12 runtime reports NodeMask 1 for a direct, compute or copy queue created with 0 on a single adapter, as ItsNotRexed#838 made descriptor heaps and resources do. d3d12_node_mask_test now compares the six queue cases with the default adapter and WARP.
|
Tested 4f9e5a6 (on main) on AMD RDNA2 iGPU and RTX 5070: pass. Windows 11 Home 10.0.26300, MSVC 14.44.35207, Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, Ninja RelWithDebInfo (
AI-assisted (Claude Code). No game files. |
|
Tested 4f9e5a6 on Windows 11, MSVC 14.51, with the full shader toolchain: ctest 33/33 on an RTX 4080 SUPER (32.0.16.1714), including this PR's tests. On an Intel UHD 770 (32.0.101.6129) the one failure is |
|
Tested 4f9e5a6: pass on both GPUs. Windows 11 26200, MSVC 19.44, Vulkan SDK 1.4.363,
No game files. AI-assisted (Claude Code). |
ID3D12CommandQueue::GetDescreturned the desc exactly as it was created, so a queue created withNodeMask = 0read back 0. The host D3D12 runtime reports 1 (the one node) for direct, compute and copy queues alike, the same rule #838 applied toID3D12DescriptorHeap::GetDescandGetHeapProperties; queues weren't covered.runtime/shims/d3d12_com.cpp:GetDescreports node mask 0 as 1.d3d12_node_mask_test: comparesGetDescof the six queue cases (three types × node mask 0/1) with the default adapter and WARP, like its heap and descriptor-heap comparisons.Tested (Windows 11, RTX 5070 (driver 621.24), MSVC 14.44, Vulkan SDK 1.4.363.0,
LEONIDA_VK_VALIDATION=1, overlay layers off):d3d12_node_mask_test6 of 6 queue cases match on both the default adapter and WARP (and the existing 18 + 8 still match). Withd3d12_com.cppfrommain: 3 of 6 differ on each. No game files.AI-assisted.
🤖 Generated with Claude Code