summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2021-05-14 15:51:53 -0400
committerGitHub <noreply@github.com>2021-05-14 15:51:53 -0400
commitd74a1068b8d78a48d06998dc7a8d7d4a6298f5b8 (patch)
treeb65fff3409805dc6ee852f832f718355861b4a72 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent41befc21cd1124fc8e1e47aeeb8c02d0e110be9b (diff)
parent77b1cca987974c8e6e322989e19e406b58dd0fcb (diff)
Merge pull request #9540 from Pokechu22/better-fifo-analyzer-part-2
Fifo analyzer quality of life improvements
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp30
1 files changed, 1 insertions, 29 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index 94a331a0d2..c657ed7989 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -114,34 +114,6 @@ struct entry
};
} // namespace
-std::string VertexLoadersToString()
-{
- std::lock_guard<std::mutex> lk(s_vertex_loader_map_lock);
- std::vector<entry> entries;
-
- size_t total_size = 0;
- for (const auto& map_entry : s_vertex_loader_map)
- {
- entry e = {map_entry.second->ToString(),
- static_cast<u64>(map_entry.second->m_numLoadedVertices)};
-
- total_size += e.text.size() + 1;
- entries.push_back(std::move(e));
- }
-
- sort(entries.begin(), entries.end());
-
- std::string dest;
- dest.reserve(total_size);
- for (const entry& entry : entries)
- {
- dest += entry.text;
- dest += '\n';
- }
-
- return dest;
-}
-
void MarkAllDirty()
{
g_main_cp_state.attr_dirty = BitSet32::AllTrue(8);
@@ -275,7 +247,7 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo
VertexLoaderBase* loader = RefreshLoader(vtx_attr_group, is_preprocess);
- int size = count * loader->m_VertexSize;
+ int size = count * loader->m_vertex_size;
if ((int)src.size() < size)
return -1;