microsoft / DirectX-Headers

Official DirectX headers available under an open source license
https://devblogs.microsoft.com/directx/
MIT License
570 stars 153 forks source link

DXC compatibility update to allow it to update DXC-Headers since it's 2 years behind #137

Open Nielsbishere opened 2 months ago

Nielsbishere commented 2 months ago

Removed IN/OUT and interface since they interfere with lots of files. Made REFGUID/REFCLSID/REFIID typedefs, since these defines interfere with everything too. Turned IsEqualGUID into dxc's version, to avoid lots of warnings.

LLVM_SUPPORT_WIN_ADAPTER_H ifdef around HeapAlloc and HeapFree, since these macros and DXC's WinFunctions.h intefere.