diff --git a/Source/Core/VideoBackends/Software/BPMemLoader.cpp b/Source/Core/VideoBackends/Software/BPMemLoader.cpp index bf11258cb0..74e257e875 100644 --- a/Source/Core/VideoBackends/Software/BPMemLoader.cpp +++ b/Source/Core/VideoBackends/Software/BPMemLoader.cpp @@ -12,9 +12,9 @@ #include "VideoBackends/Software/Rasterizer.h" #include "VideoBackends/Software/Tev.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/TextureDecoder.h" -#include "VideoCommon/BoundingBox.h" #include "VideoCommon/VideoCommon.h" diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index b307cbf2f4..9488284978 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -10,6 +10,7 @@ #include "Core/Core.h" #include "Core/HW/Memmap.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/BPFunctions.h" #include "VideoCommon/BPStructs.h" #include "VideoCommon/Fifo.h" @@ -19,7 +20,6 @@ #include "VideoCommon/RenderBase.h" #include "VideoCommon/Statistics.h" #include "VideoCommon/TextureDecoder.h" -#include "VideoCommon/BoundingBox.h" #include "VideoCommon/VertexLoader.h" #include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/VideoCommon.h" diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp index c919dfe161..a2c63afb89 100644 --- a/Source/Core/VideoCommon/BoundingBox.cpp +++ b/Source/Core/VideoCommon/BoundingBox.cpp @@ -2,13 +2,15 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include "VideoCommon/PixelShaderManager.h" -#include "VideoBackends/Software/SetupUnit.h" -#include "VideoBackends/Software/TransformUnit.h" + + #include "VideoBackends/Software/Clipper.h" #include "VideoBackends/Software/Rasterizer.h" - +#include "VideoBackends/Software/SetupUnit.h" +#include "VideoBackends/Software/TransformUnit.h" #include "VideoCommon/BoundingBox.h" +#include "VideoCommon/PixelShaderManager.h" + namespace BoundingBox { @@ -123,7 +125,7 @@ void LOADERDECL Update() myVertex.texMtx[5] = (vertexDesc.Tex5MatIdx) ? texMtxIdx[idx++] : MatrixIndexB.Tex5MtxIdx; myVertex.texMtx[6] = (vertexDesc.Tex6MatIdx) ? texMtxIdx[idx++] : MatrixIndexB.Tex6MtxIdx; myVertex.texMtx[7] = (vertexDesc.Tex7MatIdx) ? texMtxIdx[idx++] : MatrixIndexB.Tex7MtxIdx; - + // Feed texture coordinate data for (int i = 0; i < 8; ++i) { diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 877acf916c..7fd8e12a39 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -14,9 +14,9 @@ #include "Core/State.h" #include "Core/HW/MMIO.h" #include "Core/HW/ProcessorInterface.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/PixelEngine.h" -#include "VideoCommon/BoundingBox.h" #include "VideoCommon/RenderBase.h" #include "VideoCommon/VideoCommon.h" diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 8bef28cc90..546eea0c54 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -10,11 +10,11 @@ #include "Core/Host.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/DataReader.h" #include "VideoCommon/LookUpTables.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/VertexLoader.h" -#include "VideoCommon/BoundingBox.h" #include "VideoCommon/VertexLoader_Color.h" #include "VideoCommon/VertexLoader_Normal.h" #include "VideoCommon/VertexLoader_Position.h" diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index 1f23d5318d..a36a5d9d33 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -3,6 +3,7 @@ // Refer to the license.txt file included. #include "Common/ChunkFile.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/BPMemory.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/CPMemory.h" @@ -14,7 +15,6 @@ #include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/VideoState.h" #include "VideoCommon/XFMemory.h" -#include "VideoCommon/BoundingBox.h" static void DoState(PointerWrap &p) {