diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-28 21:34:31 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-04 22:59:11 +0100 |
commit | 8fca90b5d56892758a98a0ece15b5845009893e3 (patch) | |
tree | 16cc7c03687ec58c209c90e5d54f34a2eb9dcf74 /src/video_core/vertex_loader.h | |
parent | VideoCore: Split lighting regs from Regs struct (diff) | |
download | yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar.gz yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar.bz2 yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar.lz yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar.xz yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.tar.zst yuzu-8fca90b5d56892758a98a0ece15b5845009893e3.zip |
Diffstat (limited to 'src/video_core/vertex_loader.h')
-rw-r--r-- | src/video_core/vertex_loader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/vertex_loader.h b/src/video_core/vertex_loader.h index 51f3d45b4..7815715bc 100644 --- a/src/video_core/vertex_loader.h +++ b/src/video_core/vertex_loader.h @@ -17,11 +17,11 @@ struct AttributeBuffer; class VertexLoader { public: VertexLoader() = default; - explicit VertexLoader(const Pica::Regs& regs) { + explicit VertexLoader(const PipelineRegs& regs) { Setup(regs); } - void Setup(const Pica::Regs& regs); + void Setup(const PipelineRegs& regs); void LoadVertex(u32 base_address, int index, int vertex, Shader::AttributeBuffer& input, DebugUtils::MemoryAccessTracker& memory_accesses); @@ -32,7 +32,7 @@ public: private: std::array<u32, 16> vertex_attribute_sources; std::array<u32, 16> vertex_attribute_strides{}; - std::array<Regs::VertexAttributeFormat, 16> vertex_attribute_formats; + std::array<PipelineRegs::VertexAttributeFormat, 16> vertex_attribute_formats; std::array<u32, 16> vertex_attribute_elements{}; std::array<bool, 16> vertex_attribute_is_default; int num_total_attributes = 0; |