From cb53094ac1587b7f9d1a875eb1ea2f132dd4723f Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 1 Jun 2022 16:03:38 +0800 Subject: [PATCH] d3d12: Turn d3d12_format.h to include d3d12_common.h Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Acked-by: Daniel Stone Part-of: --- src/gallium/drivers/d3d12/d3d12_format.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/d3d12/d3d12_format.h b/src/gallium/drivers/d3d12/d3d12_format.h index 8d41d9271e3..c6f45633bd3 100644 --- a/src/gallium/drivers/d3d12/d3d12_format.h +++ b/src/gallium/drivers/d3d12/d3d12_format.h @@ -24,12 +24,9 @@ #ifndef D3D12_FORMATS_H #define D3D12_FORMATS_H +#include "d3d12_common.h" + #include -#ifdef _WIN32 -#include -#else -#include -#endif #include #include "pipe/p_format.h"