diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-06-07 16:44:40 -0400 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-06-07 16:44:40 -0400 |
| commit | 588de63f9cc27ea0398f2d28802b1baf7ebcdb95 (patch) | |
| tree | 6ed98304af2ecf7a923ca5959d03c07a57c4e28c /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 82fa01804c37e2a39383730bd72cda47a54a6a61 (diff) | |
| parent | 10bd68936c11ae0ed74861ca2172d41bbac0dc1f (diff) | |
Merge pull request #2141 from Tilka/position_cache
zfreeze: cache vertex positions
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index dbb421991c..46a0eeaab0 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -26,6 +26,9 @@ namespace VertexLoaderManager { +float position_cache[3][4]; +u32 position_matrix_index[3]; + typedef std::unordered_map<PortableVertexDeclaration, std::unique_ptr<NativeVertexFormat>> NativeVertexFormatMap; static NativeVertexFormatMap s_native_vertex_map; static NativeVertexFormat* s_current_vtx_fmt; |
