From 9395b8efa91fd5c7b20823d426699e058b9dae8c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 30 Sep 2016 23:07:50 -0400 Subject: [PATCH] Vulkan: Amend header includes Adds headers where necessary to eliminate indirect includes. Also adds headers to ensure certain standard constructs always resolve correctly --- Source/Core/VideoBackends/Vulkan/BoundingBox.cpp | 1 + Source/Core/VideoBackends/Vulkan/BoundingBox.h | 1 + Source/Core/VideoBackends/Vulkan/CommandBufferManager.h | 1 + Source/Core/VideoBackends/Vulkan/Constants.h | 3 +++ Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | 6 ++++-- Source/Core/VideoBackends/Vulkan/FramebufferManager.h | 6 ++++-- Source/Core/VideoBackends/Vulkan/ObjectCache.cpp | 4 +++- Source/Core/VideoBackends/Vulkan/ObjectCache.h | 2 ++ .../Core/VideoBackends/Vulkan/PaletteTextureConverter.cpp | 7 ++++++- .../Core/VideoBackends/Vulkan/PaletteTextureConverter.h | 3 ++- Source/Core/VideoBackends/Vulkan/PerfQuery.cpp | 6 ++++-- Source/Core/VideoBackends/Vulkan/PerfQuery.h | 1 + Source/Core/VideoBackends/Vulkan/RasterFont.cpp | 4 +++- Source/Core/VideoBackends/Vulkan/Renderer.cpp | 8 +++++++- Source/Core/VideoBackends/Vulkan/Renderer.h | 2 ++ Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp | 6 +++++- Source/Core/VideoBackends/Vulkan/ShaderCompiler.h | 3 ++- Source/Core/VideoBackends/Vulkan/StagingBuffer.h | 1 + Source/Core/VideoBackends/Vulkan/StagingTexture2D.h | 2 ++ Source/Core/VideoBackends/Vulkan/StateTracker.cpp | 5 ++++- Source/Core/VideoBackends/Vulkan/StateTracker.h | 4 ++++ Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp | 4 +++- Source/Core/VideoBackends/Vulkan/StreamBuffer.h | 1 + Source/Core/VideoBackends/Vulkan/SwapChain.cpp | 4 +++- Source/Core/VideoBackends/Vulkan/SwapChain.h | 1 + Source/Core/VideoBackends/Vulkan/Texture2D.h | 1 + Source/Core/VideoBackends/Vulkan/TextureCache.cpp | 6 +++++- Source/Core/VideoBackends/Vulkan/TextureCache.h | 2 +- Source/Core/VideoBackends/Vulkan/TextureEncoder.cpp | 8 ++++---- Source/Core/VideoBackends/Vulkan/TextureEncoder.h | 6 ++++-- Source/Core/VideoBackends/Vulkan/Util.cpp | 5 +++-- Source/Core/VideoBackends/Vulkan/Util.h | 4 ++++ Source/Core/VideoBackends/Vulkan/VertexManager.h | 2 ++ Source/Core/VideoBackends/Vulkan/VulkanContext.h | 1 + 34 files changed, 95 insertions(+), 26 deletions(-) diff --git a/Source/Core/VideoBackends/Vulkan/BoundingBox.cpp b/Source/Core/VideoBackends/Vulkan/BoundingBox.cpp index eea4b7e673..e9dad9f9d6 100644 --- a/Source/Core/VideoBackends/Vulkan/BoundingBox.cpp +++ b/Source/Core/VideoBackends/Vulkan/BoundingBox.cpp @@ -5,6 +5,7 @@ #include #include "Common/Assert.h" +#include "Common/Logging/Log.h" #include "VideoBackends/Vulkan/BoundingBox.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" diff --git a/Source/Core/VideoBackends/Vulkan/BoundingBox.h b/Source/Core/VideoBackends/Vulkan/BoundingBox.h index fd6d0fcdd0..3bb8606d05 100644 --- a/Source/Core/VideoBackends/Vulkan/BoundingBox.h +++ b/Source/Core/VideoBackends/Vulkan/BoundingBox.h @@ -4,6 +4,7 @@ #pragma once +#include #include #include diff --git a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h index 3f0148db9c..1b6d3ea665 100644 --- a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h +++ b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include diff --git a/Source/Core/VideoBackends/Vulkan/Constants.h b/Source/Core/VideoBackends/Vulkan/Constants.h index 3562635ca0..d6ac8d7ae2 100644 --- a/Source/Core/VideoBackends/Vulkan/Constants.h +++ b/Source/Core/VideoBackends/Vulkan/Constants.h @@ -4,7 +4,10 @@ #pragma once +#include + #include "Common/BitField.h" +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/VulkanLoader.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp index 97de14849b..531327f53a 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp @@ -2,13 +2,15 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/FramebufferManager.h" + #include -#include +#include #include "Common/CommonFuncs.h" +#include "Common/Logging/Log.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/FramebufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" #include "VideoBackends/Vulkan/StagingTexture2D.h" #include "VideoBackends/Vulkan/StateTracker.h" diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.h b/Source/Core/VideoBackends/Vulkan/FramebufferManager.h index 3ae8b90f05..a8c5f0fc64 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.h +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.h @@ -2,11 +2,13 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#pragma once + #include -#include "VideoCommon/FramebufferManagerBase.h" - +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" +#include "VideoCommon/FramebufferManagerBase.h" namespace Vulkan { diff --git a/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp b/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp index 89af5b7c53..6932830bfb 100644 --- a/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/ObjectCache.cpp @@ -2,7 +2,10 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/ObjectCache.h" + #include +#include #include #include @@ -10,7 +13,6 @@ #include "Common/LinearDiskCache.h" #include "Core/ConfigManager.h" -#include "VideoBackends/Vulkan/ObjectCache.h" #include "VideoBackends/Vulkan/ShaderCompiler.h" #include "VideoBackends/Vulkan/StreamBuffer.h" #include "VideoBackends/Vulkan/Util.h" diff --git a/Source/Core/VideoBackends/Vulkan/ObjectCache.h b/Source/Core/VideoBackends/Vulkan/ObjectCache.h index f2ae25142a..3778f2bedb 100644 --- a/Source/Core/VideoBackends/Vulkan/ObjectCache.h +++ b/Source/Core/VideoBackends/Vulkan/ObjectCache.h @@ -5,11 +5,13 @@ #pragma once #include +#include #include #include #include #include +#include "Common/CommonTypes.h" #include "Common/LinearDiskCache.h" #include "VideoBackends/Vulkan/Constants.h" diff --git a/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.cpp b/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.cpp index 4a0ecb9dce..638edd5213 100644 --- a/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.cpp +++ b/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.cpp @@ -2,16 +2,21 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/PaletteTextureConverter.h" + #include +#include #include +#include #include "Common/Assert.h" #include "Common/CommonFuncs.h" +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" #include "VideoBackends/Vulkan/FramebufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" -#include "VideoBackends/Vulkan/PaletteTextureConverter.h" #include "VideoBackends/Vulkan/Renderer.h" #include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/StreamBuffer.h" diff --git a/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.h b/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.h index 655ffbf74f..537b029595 100644 --- a/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.h +++ b/Source/Core/VideoBackends/Vulkan/PaletteTextureConverter.h @@ -4,10 +4,11 @@ #pragma once +#include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/StreamBuffer.h" - #include "VideoCommon/TextureDecoder.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/PerfQuery.cpp b/Source/Core/VideoBackends/Vulkan/PerfQuery.cpp index 0ee31e3d00..2a64babb32 100644 --- a/Source/Core/VideoBackends/Vulkan/PerfQuery.cpp +++ b/Source/Core/VideoBackends/Vulkan/PerfQuery.cpp @@ -2,15 +2,17 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/PerfQuery.h" + #include #include #include #include "Common/Assert.h" +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/PerfQuery.h" -#include "VideoBackends/Vulkan/Renderer.h" #include "VideoBackends/Vulkan/StagingBuffer.h" #include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/Util.h" diff --git a/Source/Core/VideoBackends/Vulkan/PerfQuery.h b/Source/Core/VideoBackends/Vulkan/PerfQuery.h index 5cffb9893b..3d385299f1 100644 --- a/Source/Core/VideoBackends/Vulkan/PerfQuery.h +++ b/Source/Core/VideoBackends/Vulkan/PerfQuery.h @@ -7,6 +7,7 @@ #include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoCommon/PerfQueryBase.h" diff --git a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp index 4432b0d0c6..72f393bb1e 100644 --- a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp +++ b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp @@ -2,10 +2,12 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/RasterFont.h" + +#include #include #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/RasterFont.h" #include "VideoBackends/Vulkan/Texture2D.h" #include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.cpp b/Source/Core/VideoBackends/Vulkan/Renderer.cpp index a8578d0b27..e1c6394b30 100644 --- a/Source/Core/VideoBackends/Vulkan/Renderer.cpp +++ b/Source/Core/VideoBackends/Vulkan/Renderer.cpp @@ -2,8 +2,15 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/Renderer.h" + +#include #include #include +#include + +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "Core/ConfigManager.h" @@ -12,7 +19,6 @@ #include "VideoBackends/Vulkan/FramebufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" #include "VideoBackends/Vulkan/RasterFont.h" -#include "VideoBackends/Vulkan/Renderer.h" #include "VideoBackends/Vulkan/StagingTexture2D.h" #include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/SwapChain.h" diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.h b/Source/Core/VideoBackends/Vulkan/Renderer.h index 64b84656b9..3110a090e5 100644 --- a/Source/Core/VideoBackends/Vulkan/Renderer.h +++ b/Source/Core/VideoBackends/Vulkan/Renderer.h @@ -5,8 +5,10 @@ #pragma once #include +#include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoCommon/RenderBase.h" diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp index 1b4f134688..ded63ce3ed 100644 --- a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp +++ b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp @@ -2,7 +2,12 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/ShaderCompiler.h" + +#include +#include #include +#include #include // glslang includes @@ -15,7 +20,6 @@ #include "Common/MsgHandler.h" #include "Common/StringUtil.h" -#include "VideoBackends/Vulkan/ShaderCompiler.h" #include "VideoCommon/VideoConfig.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.h b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.h index 79f8fc447c..96bd9081bf 100644 --- a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.h +++ b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.h @@ -4,9 +4,10 @@ #pragma once +#include #include -#include "VideoBackends/Vulkan/Constants.h" +#include "Common/CommonTypes.h" namespace Vulkan { diff --git a/Source/Core/VideoBackends/Vulkan/StagingBuffer.h b/Source/Core/VideoBackends/Vulkan/StagingBuffer.h index 9562dda74a..22f99d1780 100644 --- a/Source/Core/VideoBackends/Vulkan/StagingBuffer.h +++ b/Source/Core/VideoBackends/Vulkan/StagingBuffer.h @@ -4,6 +4,7 @@ #pragma once +#include #include #include "VideoBackends/Vulkan/Constants.h" diff --git a/Source/Core/VideoBackends/Vulkan/StagingTexture2D.h b/Source/Core/VideoBackends/Vulkan/StagingTexture2D.h index 709c220af7..9dfd0c0e04 100644 --- a/Source/Core/VideoBackends/Vulkan/StagingTexture2D.h +++ b/Source/Core/VideoBackends/Vulkan/StagingTexture2D.h @@ -4,8 +4,10 @@ #pragma once +#include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/StateTracker.cpp b/Source/Core/VideoBackends/Vulkan/StateTracker.cpp index a1c4e5fb25..4d6f8dea7a 100644 --- a/Source/Core/VideoBackends/Vulkan/StateTracker.cpp +++ b/Source/Core/VideoBackends/Vulkan/StateTracker.cpp @@ -2,13 +2,16 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/StateTracker.h" + +#include + #include "Common/Assert.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoBackends/Vulkan/FramebufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" -#include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/StreamBuffer.h" #include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" diff --git a/Source/Core/VideoBackends/Vulkan/StateTracker.h b/Source/Core/VideoBackends/Vulkan/StateTracker.h index 2b807306e4..a763c72b7f 100644 --- a/Source/Core/VideoBackends/Vulkan/StateTracker.h +++ b/Source/Core/VideoBackends/Vulkan/StateTracker.h @@ -4,9 +4,13 @@ #pragma once +#include +#include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" +#include "VideoBackends/Vulkan/ObjectCache.h" #include "VideoCommon/GeometryShaderGen.h" #include "VideoCommon/PixelShaderGen.h" #include "VideoCommon/RenderBase.h" diff --git a/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp b/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp index cc2999d262..9d7f4d8820 100644 --- a/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp +++ b/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp @@ -2,14 +2,16 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/StreamBuffer.h" + #include #include +#include #include "Common/Assert.h" #include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/StreamBuffer.h" #include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" diff --git a/Source/Core/VideoBackends/Vulkan/StreamBuffer.h b/Source/Core/VideoBackends/Vulkan/StreamBuffer.h index b819d80739..291597fb9b 100644 --- a/Source/Core/VideoBackends/Vulkan/StreamBuffer.h +++ b/Source/Core/VideoBackends/Vulkan/StreamBuffer.h @@ -4,6 +4,7 @@ #pragma once +#include #include #include #include diff --git a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp index aab4f6c330..f0a35fd526 100644 --- a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp +++ b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp @@ -2,15 +2,17 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/SwapChain.h" + #include #include #include "Common/Assert.h" #include "Common/CommonFuncs.h" #include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/SwapChain.h" #include "VideoBackends/Vulkan/VulkanContext.h" #if defined(VK_USE_PLATFORM_XLIB_KHR) diff --git a/Source/Core/VideoBackends/Vulkan/SwapChain.h b/Source/Core/VideoBackends/Vulkan/SwapChain.h index bb259b27c9..3278139d1b 100644 --- a/Source/Core/VideoBackends/Vulkan/SwapChain.h +++ b/Source/Core/VideoBackends/Vulkan/SwapChain.h @@ -7,6 +7,7 @@ #include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoBackends/Vulkan/Texture2D.h" diff --git a/Source/Core/VideoBackends/Vulkan/Texture2D.h b/Source/Core/VideoBackends/Vulkan/Texture2D.h index 2d9dccc2ce..bf0a8a70ab 100644 --- a/Source/Core/VideoBackends/Vulkan/Texture2D.h +++ b/Source/Core/VideoBackends/Vulkan/Texture2D.h @@ -6,6 +6,7 @@ #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp index 65ab7d737c..a866202545 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp @@ -2,12 +2,17 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/TextureCache.h" + #include #include +#include #include #include "Common/Assert.h" #include "Common/CommonFuncs.h" +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" #include "VideoBackends/Vulkan/FramebufferManager.h" @@ -18,7 +23,6 @@ #include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/StreamBuffer.h" #include "VideoBackends/Vulkan/Texture2D.h" -#include "VideoBackends/Vulkan/TextureCache.h" #include "VideoBackends/Vulkan/TextureEncoder.h" #include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.h b/Source/Core/VideoBackends/Vulkan/TextureCache.h index bfef957117..18c8bd6020 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.h +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.h @@ -6,8 +6,8 @@ #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/StreamBuffer.h" - #include "VideoCommon/TextureCacheBase.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/TextureEncoder.cpp b/Source/Core/VideoBackends/Vulkan/TextureEncoder.cpp index b89baba62f..0771d37193 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureEncoder.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureEncoder.cpp @@ -2,21 +2,21 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/TextureEncoder.h" + #include #include #include "Common/CommonFuncs.h" +#include "Common/Logging/Log.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" -#include "VideoBackends/Vulkan/FramebufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" #include "VideoBackends/Vulkan/Renderer.h" #include "VideoBackends/Vulkan/StagingTexture2D.h" #include "VideoBackends/Vulkan/StateTracker.h" -#include "VideoBackends/Vulkan/StreamBuffer.h" #include "VideoBackends/Vulkan/Texture2D.h" -#include "VideoBackends/Vulkan/TextureCache.h" -#include "VideoBackends/Vulkan/TextureEncoder.h" #include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" diff --git a/Source/Core/VideoBackends/Vulkan/TextureEncoder.h b/Source/Core/VideoBackends/Vulkan/TextureEncoder.h index 30c9413a14..daea8b59ff 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureEncoder.h +++ b/Source/Core/VideoBackends/Vulkan/TextureEncoder.h @@ -4,10 +4,12 @@ #pragma once +#include #include -#include "VideoBackends/Vulkan/StreamBuffer.h" - +#include "Common/CommonTypes.h" +#include "VideoBackends/Vulkan/VulkanLoader.h" +#include "VideoCommon/BPMemory.h" #include "VideoCommon/VideoCommon.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/Util.cpp b/Source/Core/VideoBackends/Vulkan/Util.cpp index 5048466aa2..63bc9b94c5 100644 --- a/Source/Core/VideoBackends/Vulkan/Util.cpp +++ b/Source/Core/VideoBackends/Vulkan/Util.cpp @@ -2,17 +2,18 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoBackends/Vulkan/Util.h" + #include "Common/Assert.h" #include "Common/CommonFuncs.h" #include "Common/MathUtil.h" +#include "Common/MsgHandler.h" #include "VideoBackends/Vulkan/CommandBufferManager.h" #include "VideoBackends/Vulkan/ObjectCache.h" -#include "VideoBackends/Vulkan/Renderer.h" #include "VideoBackends/Vulkan/ShaderCompiler.h" #include "VideoBackends/Vulkan/StateTracker.h" #include "VideoBackends/Vulkan/StreamBuffer.h" -#include "VideoBackends/Vulkan/Util.h" #include "VideoBackends/Vulkan/VulkanContext.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/Util.h b/Source/Core/VideoBackends/Vulkan/Util.h index 5f156483be..dce0c720c7 100644 --- a/Source/Core/VideoBackends/Vulkan/Util.h +++ b/Source/Core/VideoBackends/Vulkan/Util.h @@ -4,6 +4,10 @@ #pragma once +#include +#include + +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoBackends/Vulkan/ObjectCache.h" diff --git a/Source/Core/VideoBackends/Vulkan/VertexManager.h b/Source/Core/VideoBackends/Vulkan/VertexManager.h index 9729709658..0de4faae85 100644 --- a/Source/Core/VideoBackends/Vulkan/VertexManager.h +++ b/Source/Core/VideoBackends/Vulkan/VertexManager.h @@ -4,8 +4,10 @@ #pragma once +#include #include +#include "Common/CommonTypes.h" #include "VideoCommon/VertexManagerBase.h" namespace Vulkan diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.h b/Source/Core/VideoBackends/Vulkan/VulkanContext.h index 26daa656cd..382163b654 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.h +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.h @@ -7,6 +7,7 @@ #include #include +#include "Common/CommonTypes.h" #include "VideoBackends/Vulkan/Constants.h" #include "VideoCommon/VideoConfig.h"