rsx: Ignore or recover from unknown primitives

This also fixes a bug when recovering FIFO or creating such recovery point inside in_begin_end == true scope.
This commit is contained in:
Eladash 2019-12-07 19:07:58 +02:00 committed by Ivan
parent 6a4ba9d562
commit 7260af032e
4 changed files with 57 additions and 19 deletions

View file

@ -2162,6 +2162,12 @@ namespace rsx
fifo_ret_addr = saved_fifo_ret;
std::this_thread::sleep_for(1ms);
invalid_command_interrupt_raised = false;
if (std::exchange(in_begin_end, false) && !rsx::method_registers.current_draw_clause.empty())
{
execute_nop_draw();
rsx::thread::end();
}
}
u32 thread::get_fifo_cmd()