summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-08-03 21:14:59 -0700
committerPierre Bourdon <delroth@gmail.com>2014-08-03 21:14:59 -0700
commite15ec56bf0237dba3db5cf969d68566af3a79194 (patch)
tree110dba64d967a44be6c1699f9331320cd21e877d /Source/Core/VideoCommon/VertexLoader.cpp
parent89adfba67bdf145ad0eae174cbe755f9aa7aa802 (diff)
parent1fcf07f9cccf838894bf7a869ec0749cf2abbb2d (diff)
Merge pull request #716 from delroth/vertex-loader
Make vertex loader testable
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 9417b7e78f..136cc33795 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -12,16 +12,13 @@
#include "VideoCommon/BPMemory.h"
#include "VideoCommon/DataReader.h"
-#include "VideoCommon/IndexGenerator.h"
#include "VideoCommon/LookUpTables.h"
#include "VideoCommon/PixelEngine.h"
-#include "VideoCommon/Statistics.h"
#include "VideoCommon/VertexLoader.h"
#include "VideoCommon/VertexLoader_Color.h"
#include "VideoCommon/VertexLoader_Normal.h"
#include "VideoCommon/VertexLoader_Position.h"
#include "VideoCommon/VertexLoader_TextCoord.h"
-#include "VideoCommon/VertexLoaderManager.h"
#include "VideoCommon/VideoCommon.h"
#include "VideoCommon/VideoConfig.h"
@@ -866,13 +863,7 @@ void VertexLoader::RunVertices(const VAT& vat, int primitive, int const count)
return;
}
SetupRunVertices(vat, primitive, count);
- VertexManager::PrepareForAdditionalData(primitive, count,
- m_native_vtx_decl.stride);
ConvertVertices(count);
- IndexGenerator::AddIndices(primitive, count);
-
- ADDSTAT(stats.thisFrame.numPrims, count);
- INCSTAT(stats.thisFrame.numPrimitiveJoins);
}
void VertexLoader::SetVAT(const VAT& vat)