summaryrefslogtreecommitdiff
path: root/src/video_core/vertex_loader.cpp
diff options
context:
space:
mode:
authorGravatar Henrik Rydgard2016-04-29 08:50:21 +0200
committerGravatar Henrik Rydgard2016-04-29 08:50:21 +0200
commita86d7cacc1f56c6e8ff5f046ba7e2477e92d873f (patch)
tree29f718ef564717329deb8d63e98ca64659ba1aa5 /src/video_core/vertex_loader.cpp
parentDebugger fix (diff)
downloadyuzu-a86d7cacc1f56c6e8ff5f046ba7e2477e92d873f.tar.gz
yuzu-a86d7cacc1f56c6e8ff5f046ba7e2477e92d873f.tar.xz
yuzu-a86d7cacc1f56c6e8ff5f046ba7e2477e92d873f.zip
Move and rename the MemoryAccesses class to MemoryAccessTracker.
Diffstat (limited to 'src/video_core/vertex_loader.cpp')
-rw-r--r--src/video_core/vertex_loader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/vertex_loader.cpp b/src/video_core/vertex_loader.cpp
index 4784817f4..8a3d91896 100644
--- a/src/video_core/vertex_loader.cpp
+++ b/src/video_core/vertex_loader.cpp
@@ -12,8 +12,7 @@
12 12
13#include "core/memory.h" 13#include "core/memory.h"
14 14
15#include "debug_utils/debug_utils.h" 15#include "video_core/debug_utils/debug_utils.h"
16
17#include "video_core/pica.h" 16#include "video_core/pica.h"
18#include "video_core/pica_state.h" 17#include "video_core/pica_state.h"
19#include "video_core/pica_types.h" 18#include "video_core/pica_types.h"
@@ -63,7 +62,7 @@ void VertexLoader::Setup(const Pica::Regs& regs) {
63 } 62 }
64} 63}
65 64
66void VertexLoader::LoadVertex(u32 base_address, int index, int vertex, Shader::InputVertex& input, MemoryAccesses& memory_accesses) { 65void VertexLoader::LoadVertex(u32 base_address, int index, int vertex, Shader::InputVertex& input, DebugUtils::MemoryAccessTracker& memory_accesses) {
67 for (int i = 0; i < num_total_attributes; ++i) { 66 for (int i = 0; i < num_total_attributes; ++i) {
68 if (vertex_attribute_elements[i] != 0) { 67 if (vertex_attribute_elements[i] != 0) {
69 // Load per-vertex data from the loader arrays 68 // Load per-vertex data from the loader arrays