rsx: Fix endianness order when immediate mode register is updated, but used as register lookup

- Simplify the code by unifying all the register-backed memory
This commit is contained in:
kd-11 2018-08-28 18:19:26 +03:00 committed by kd-11
parent 9acaee563b
commit 6399833182
7 changed files with 54 additions and 48 deletions

View file

@ -226,7 +226,10 @@ namespace rsx
const auto vtype = vertex_data_type_from_element_type<type>::type;
if (rsx->in_begin_end)
{
// Update to immediate mode register/array, aliasing with the register view
rsx->append_to_push_buffer(attribute_index, count, vertex_subreg, vtype, arg);
}
auto& info = rsx::method_registers.register_vertex_info[attribute_index];