mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-29 15:33:35 -06:00
rsx: Minor optimization (tangible boost)
This commit is contained in:
parent
96561c16ad
commit
1e826f5ccf
@ -634,6 +634,8 @@ namespace rsx
|
||||
std::vector<std::variant<vertex_array_buffer, vertex_array_register, empty_vertex_array>> thread::get_vertex_buffers(const rsx::rsx_state& state, const std::vector<std::pair<u32, u32>>& vertex_ranges) const
|
||||
{
|
||||
std::vector<std::variant<vertex_array_buffer, vertex_array_register, empty_vertex_array>> result;
|
||||
result.reserve(rsx::limits::vertex_count);
|
||||
|
||||
u32 input_mask = state.vertex_attrib_input_mask();
|
||||
for (u8 index = 0; index < rsx::limits::vertex_count; ++index)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user