rsx: Scrap the prebuffered queue approach

- Basically starting over
- The cost of making command copies into the queue has a measurable impact
This commit is contained in:
kd-11 2018-10-31 12:24:43 +03:00 committed by kd-11
parent 9deecd506a
commit 2e32777375
5 changed files with 256 additions and 1350 deletions

View file

@ -456,6 +456,10 @@ namespace rsx
rsx::method_registers.current_draw_clause.compile();
rsxthr->end();
}
else
{
rsxthr->in_begin_end = false;
}
}
vm::addr_t get_report_data_impl(u32 offset)
@ -2229,8 +2233,11 @@ namespace rsx
{
u32 result = 0;
for (const auto &barrier : draw_command_barriers[current_range_index])
for (const auto &barrier : draw_command_barriers)
{
if (barrier.draw_id != current_range_index)
continue;
switch (barrier.type)
{
case primitive_restart_barrier: