From 43d0d692f941c6ca44f62bc17597d74e12ff97c8 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Fri, 24 Jun 2016 11:14:10 +0000 Subject: [PATCH] Fix D3D12 headers missing includes. --- Source/Core/VideoBackends/D3D/PerfQuery.h | 1 + Source/Core/VideoBackends/D3D12/D3DTexture.h | 3 +++ Source/Core/VideoBackends/D3D12/PSTextureEncoder.h | 2 +- Source/Core/VideoBackends/D3D12/StaticShaderCache.h | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3D/PerfQuery.h b/Source/Core/VideoBackends/D3D/PerfQuery.h index 2e7aa6a6ff..80e2fc7570 100644 --- a/Source/Core/VideoBackends/D3D/PerfQuery.h +++ b/Source/Core/VideoBackends/D3D/PerfQuery.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include "VideoCommon/PerfQueryBase.h" diff --git a/Source/Core/VideoBackends/D3D12/D3DTexture.h b/Source/Core/VideoBackends/D3D12/D3DTexture.h index 7b369f07e5..2dd8dd10c8 100644 --- a/Source/Core/VideoBackends/D3D12/D3DTexture.h +++ b/Source/Core/VideoBackends/D3D12/D3DTexture.h @@ -6,6 +6,9 @@ #include +#include "Common/CommonTypes.h" +#include "VideoBackends/D3D12/D3DBase.h" + namespace DX12 { enum TEXTURE_BIND_FLAG : u32 diff --git a/Source/Core/VideoBackends/D3D12/PSTextureEncoder.h b/Source/Core/VideoBackends/D3D12/PSTextureEncoder.h index 67f6927d97..cbe7c46897 100644 --- a/Source/Core/VideoBackends/D3D12/PSTextureEncoder.h +++ b/Source/Core/VideoBackends/D3D12/PSTextureEncoder.h @@ -4,8 +4,8 @@ #pragma once +#include "VideoBackends/D3D12/D3DBase.h" #include "VideoBackends/D3D12/TextureEncoder.h" - #include "VideoCommon/TextureCacheBase.h" namespace DX12 diff --git a/Source/Core/VideoBackends/D3D12/StaticShaderCache.h b/Source/Core/VideoBackends/D3D12/StaticShaderCache.h index 89e2d9c0f8..d0f36305c4 100644 --- a/Source/Core/VideoBackends/D3D12/StaticShaderCache.h +++ b/Source/Core/VideoBackends/D3D12/StaticShaderCache.h @@ -4,6 +4,8 @@ #pragma once +#include "VideoBackends/D3D12/D3DBase.h" + namespace DX12 { class StaticShaderCache final