Optimize the vertex loader, nearly doubling its speed.

This commit is contained in:
Henrik Rydgard 2016-04-28 21:43:49 +02:00
parent 2403e86cbb
commit 251f29dd7f
2 changed files with 54 additions and 32 deletions

View file

@ -47,7 +47,6 @@ private:
u32 vertex_attribute_strides[16] = {};
Regs::VertexAttributeFormat vertex_attribute_formats[16] = {};
u32 vertex_attribute_elements[16] = {};
u32 vertex_attribute_element_size[16] = {};
bool vertex_attribute_is_default[16];
int num_total_attributes;
};