summaryrefslogtreecommitdiff
path: root/src/video_core/vertex_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/vertex_loader.h')
-rw-r--r--src/video_core/vertex_loader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/vertex_loader.h b/src/video_core/vertex_loader.h
index 560d36edc..40c5e83c9 100644
--- a/src/video_core/vertex_loader.h
+++ b/src/video_core/vertex_loader.h
@@ -38,10 +38,10 @@ public:
38class VertexLoader { 38class VertexLoader {
39public: 39public:
40 void Setup(const Pica::Regs& regs); 40 void Setup(const Pica::Regs& regs);
41 void LoadVertex(int index, int vertex, Shader::InputVertex& input, MemoryAccesses& memory_accesses); 41 void LoadVertex(u32 base_address, int index, int vertex, Shader::InputVertex& input, MemoryAccesses& memory_accesses);
42 42
43 u32 GetPhysicalBaseAddress() const { return base_address; }
44 int GetNumTotalAttributes() const { return num_total_attributes; } 43 int GetNumTotalAttributes() const { return num_total_attributes; }
44
45private: 45private:
46 u32 vertex_attribute_sources[16]; 46 u32 vertex_attribute_sources[16];
47 u32 vertex_attribute_strides[16] = {}; 47 u32 vertex_attribute_strides[16] = {};
@@ -49,7 +49,6 @@ private:
49 u32 vertex_attribute_elements[16] = {}; 49 u32 vertex_attribute_elements[16] = {};
50 u32 vertex_attribute_element_size[16] = {}; 50 u32 vertex_attribute_element_size[16] = {};
51 bool vertex_attribute_is_default[16]; 51 bool vertex_attribute_is_default[16];
52 u32 base_address;
53 int num_total_attributes; 52 int num_total_attributes;
54}; 53};
55 54