diff options
author | Henrik Rydgard <hrydgard@gmail.com> | 2016-04-28 19:40:11 +0200 |
---|---|---|
committer | Henrik Rydgard <hrydgard@gmail.com> | 2016-04-28 19:40:11 +0200 |
commit | d00e2340c63c61ccb987c4ab0d76957f6cc84144 (patch) | |
tree | b46216ab565f212c76fe58735b1467baecbf3327 /src/video_core/vertex_loader.h | |
parent | Refactor: Extract VertexLoader from command_processor.cpp. (diff) | |
download | yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar.gz yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar.bz2 yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar.lz yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar.xz yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.tar.zst yuzu-d00e2340c63c61ccb987c4ab0d76957f6cc84144.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vertex_loader.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/video_core/vertex_loader.h b/src/video_core/vertex_loader.h index 4ff62d97b..560d36edc 100644 --- a/src/video_core/vertex_loader.h +++ b/src/video_core/vertex_loader.h @@ -1,5 +1,8 @@ #pragma once +#include <iterator> +#include <algorithm> + #include "video_core/pica.h" #include "video_core/shader/shader.h" @@ -34,8 +37,8 @@ public: class VertexLoader { public: - void Setup(const Pica::Regs ®s); - void LoadVertex(int index, int vertex, Shader::InputVertex &input, MemoryAccesses &memory_accesses); + void Setup(const Pica::Regs& regs); + void LoadVertex(int index, int vertex, Shader::InputVertex& input, MemoryAccesses& memory_accesses); u32 GetPhysicalBaseAddress() const { return base_address; } int GetNumTotalAttributes() const { return num_total_attributes; } |