rsx: Fixups for immediate rendering mode

- Immediate mode is isolated from the rest of the vertex configuration
- TODO: Verify register behaviour when immediate mode is used
  Check if per-primitive const register values are supported (likely are)
This commit is contained in:
kd-11 2018-11-25 00:31:16 +03:00 committed by kd-11
parent 4b79ef1ad9
commit f48abde14b
4 changed files with 31 additions and 11 deletions

View file

@ -247,8 +247,11 @@ namespace rsx
if (rsx->in_begin_end)
{
// Update to immediate mode register/array, aliasing with the register view
// Update to immediate mode register/array
rsx->append_to_push_buffer(attribute_index, count, vertex_subreg, vtype, arg);
// NOTE: one can update the register to update constant across primitive. Needs verification.
// Fall through
}
auto& info = rsx::method_registers.register_vertex_info[attribute_index];