From f6e3a39c0eb9092a2696a87926f8f51de8499294 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 2 Sep 2017 13:23:26 -0400 Subject: [PATCH] CommandProcessor: Remove unnecessary include Gets rid of some indirect inclusion. --- Source/Core/VideoCommon/CommandProcessor.h | 1 - Source/Core/VideoCommon/Fifo.cpp | 5 +++-- Source/Core/VideoCommon/PixelEngine.cpp | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h index 9064aa469b..7257d3e861 100644 --- a/Source/Core/VideoCommon/CommandProcessor.h +++ b/Source/Core/VideoCommon/CommandProcessor.h @@ -5,7 +5,6 @@ #pragma once #include "Common/CommonTypes.h" -#include "VideoCommon/VideoBackendBase.h" class PointerWrap; namespace MMIO diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 15a1853ee7..abf2d78f0c 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include "VideoCommon/Fifo.h" + #include #include @@ -17,17 +19,16 @@ #include "Core/ConfigManager.h" #include "Core/CoreTiming.h" #include "Core/HW/Memmap.h" -#include "Core/HW/SystemTimers.h" #include "Core/Host.h" #include "VideoCommon/AsyncRequests.h" #include "VideoCommon/CPMemory.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/DataReader.h" -#include "VideoCommon/Fifo.h" #include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/VertexLoaderManager.h" #include "VideoCommon/VertexManagerBase.h" +#include "VideoCommon/VideoBackendBase.h" namespace Fifo { diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 02cda26917..e5136e6d50 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -4,6 +4,8 @@ // http://www.nvidia.com/object/General_FAQ.html#t6 !!!!! +#include "VideoCommon/PixelEngine.h" + #include #include "Common/ChunkFile.h" @@ -15,10 +17,10 @@ #include "Core/HW/MMIO.h" #include "Core/HW/ProcessorInterface.h" #include "VideoCommon/BoundingBox.h" -#include "VideoCommon/CommandProcessor.h" #include "VideoCommon/Fifo.h" -#include "VideoCommon/PixelEngine.h" +#include "VideoCommon/PerfQueryBase.h" #include "VideoCommon/PixelShaderManager.h" +#include "VideoCommon/VideoBackendBase.h" namespace PixelEngine {