You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would've assumed this was a win32metadata issue, but I can't seem to find the cause of this in win32metadata, so posting it here. If it needs to move, let me know.
However it looks like Win32_Graphics_Direct3D11 is required for D3D12CreateDevice because of the D3D_FEATURE_LEVEL enum which is slightly unfortunate (since it's the only thing that seems to require it).
In the regular C++ headers, these enums are defined in d3dcommon.h so they can be shared between versions.
(In looking through this, I also noticed D3D11On12CreateDevice is behind the 12 feature toggle, which seems slightly odd too, I'd expect it to only need 11).
The text was updated successfully, but these errors were encountered:
Yes, I believe this is a metadata issue. Will transfer.
I think @damyanp and @sotteson1 have done some work to clean this up but they can confirm. As soon as a build is available with their changes I can ingest into the Windows crate.
@Jasper-Bekkers - if you were looking at win32metadata after #579 was merged then you should see that this problem has been resolved - this PR was intended to solve exactly these sorts of problems.
I would've assumed this was a win32metadata issue, but I can't seem to find the cause of this in win32metadata, so posting it here. If it needs to move, let me know.
However it looks like
Win32_Graphics_Direct3D11
is required forD3D12CreateDevice
because of theD3D_FEATURE_LEVEL
enum which is slightly unfortunate (since it's the only thing that seems to require it).In the regular C++ headers, these enums are defined in d3dcommon.h so they can be shared between versions.
(In looking through this, I also noticed
D3D11On12CreateDevice
is behind the 12 feature toggle, which seems slightly odd too, I'd expect it to only need 11).The text was updated successfully, but these errors were encountered: