microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.33k stars 116 forks source link

DXCORE_ADAPTER_ATTRIBUTE_D3D12_GENERIC_ML can't be mapped #2005

Open azchohfi opened 2 weeks ago

azchohfi commented 2 weeks ago

This documentation mentions a few GUIDs: https://learn.microsoft.com/en-us/windows/win32/dxcore/dxcore-adapter-attribute-guids

When using CSWin32, it managed to map one of these Guids, but it fails for another one. This Guid works: DXCORE_ADAPTER_ATTRIBUTE_D3D12_CORE_COMPUTE And this one doesn't: DXCORE_ADAPTER_ATTRIBUTE_D3D12_GENERIC_ML

Happy to send a PR if you could point me to how this works.

Thanks in advance.

riverar commented 1 week ago

Ah, this was added ~9 months ago (https://github.com/microsoft/DirectX-Headers/commit/05ada009b2d8a3d8a81869cb93cfc4c715f6788b#diff-d266b87a0e1b28ec67322809773b23f030301bcaa92e6342d71d750573df8309R235) and is present in the 26100 SDK.

Blocked on https://github.com/microsoft/win32metadata/issues/1930.

We'll get the newer SDK in soon!