protonscr

Size of D3D12_FEATURE_DATA_D3D12_OPTIONS19 does not match Microsoft's headers

vkd3dclosed
HansKristian-Work/vkd3d-proton#2511 · opened 2025-06-17 by Saancreed · updated 2025-06-18 · 0 comments · github
SSaancreed 2025-06-17 github

Encountered while trying to get new OMM sample to run:

warn:vkd3d-proton:d3d12_device_CheckFeatureSupport: Invalid size 40.
WARNING (DeviceD3D12.hpp:485) - D3D12::NVIDIA GeForce RTX 4080 Laptop GPU - nri::DeviceD3D12::FillDesc(): ID3D12Device::CheckFeatureSupport(options19) failed, result = 0x80070057!

As it turns out, in Microsoft's headers D3D12_FEATURE_DATA_D3D12_OPTIONS19 has 10 members while in vkd3d-proton's headers it only has 9, missing the last one (BOOL ComputeOnlyCustomHeapSupported;).

Error codes