From e568ef122a35e8c71f69b0623ec5d98993decce4 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 5 Dec 2023 02:00:41 +0800 Subject: [PATCH] d3d12,dzn: Simplify the usage of #include Now wsl/winadapter.h are platform independent Signed-off-by: Yonggang Luo Part-of: --- src/gallium/drivers/d3d12/d3d12_common.h | 4 ---- src/microsoft/vulkan/dzn_physical_device_enum.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/gallium/drivers/d3d12/d3d12_common.h b/src/gallium/drivers/d3d12/d3d12_common.h index 9defde858e3..4fa900d1585 100644 --- a/src/gallium/drivers/d3d12/d3d12_common.h +++ b/src/gallium/drivers/d3d12/d3d12_common.h @@ -26,11 +26,7 @@ #pragma once -#ifndef _WIN32 #include -#else -#include -#endif #define D3D12_IGNORE_SDK_LAYERS #ifndef _GAMING_XBOX diff --git a/src/microsoft/vulkan/dzn_physical_device_enum.h b/src/microsoft/vulkan/dzn_physical_device_enum.h index 3dc31f825e1..7ecc5d34630 100644 --- a/src/microsoft/vulkan/dzn_physical_device_enum.h +++ b/src/microsoft/vulkan/dzn_physical_device_enum.h @@ -26,11 +26,7 @@ #include -#include - -#ifndef _WIN32 #include -#endif #include