d3d12: Turn d3d12_format.h to include d3d12_common.h
authorYonggang Luo <luoyonggang@gmail.com>
Wed, 1 Jun 2022 08:03:38 +0000 (16:03 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Jun 2022 09:27:06 +0000 (09:27 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>

src/gallium/drivers/d3d12/d3d12_format.h

index 8d41d92..c6f4563 100644 (file)
 #ifndef D3D12_FORMATS_H
 #define D3D12_FORMATS_H
 
+#include "d3d12_common.h"
+
 #include <directx/dxgiformat.h>
-#ifdef _WIN32
-#include <windows.h>
-#else
-#include <wsl/winadapter.h>
-#endif
 #include <directx/dxgicommon.h>
 
 #include "pipe/p_format.h"