diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-07-11 20:34:48 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-11 20:34:48 +1000 |
| commit | 4c649d1a5d92ccb1cb106861d60d744b92188524 (patch) | |
| tree | 25011e4e5197824643d837414f3a2ebb66d283a2 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 8d8d1037398f0aebd4fcec478ace20dfef91e4cc (diff) | |
| parent | 9c245655fbb1deea183d47a53dbd6ecaab3bcb4a (diff) | |
Merge pull request #8238 from lioncash/video-stats
VideoCommon/Statistics: Minor cleanup changes
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 3388f0d2bb..81b537c297 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -54,7 +54,7 @@ void Init() map_entry = nullptr; for (auto& map_entry : g_preprocess_cp_state.vertex_loaders) map_entry = nullptr; - SETSTAT(stats.numVertexLoaders, 0); + SETSTAT(g_stats.num_vertex_loaders, 0); } void Clear() @@ -223,7 +223,7 @@ static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = fal s_vertex_loader_map[uid] = VertexLoaderBase::CreateVertexLoader(state->vtx_desc, state->vtx_attr[vtx_attr_group]); loader = s_vertex_loader_map[uid].get(); - INCSTAT(stats.numVertexLoaders); + INCSTAT(g_stats.num_vertex_loaders); } if (check_for_native_format) { @@ -287,8 +287,8 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo g_vertex_manager->FlushData(count, loader->m_native_vtx_decl.stride); - ADDSTAT(stats.thisFrame.numPrims, count); - INCSTAT(stats.thisFrame.numPrimitiveJoins); + ADDSTAT(g_stats.this_frame.num_prims, count); + INCSTAT(g_stats.this_frame.num_primitive_joins); return size; } |
