mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
rsx/debug: Fix rendering when FIFO reordering is disabled
This commit is contained in:
parent
1c5667f0ce
commit
c9e367befd
2 changed files with 6 additions and 2 deletions
|
@ -465,7 +465,10 @@ void GLGSRender::end()
|
||||||
}
|
}
|
||||||
|
|
||||||
const GLenum draw_mode = gl::draw_mode(rsx::method_registers.current_draw_clause.primitive);
|
const GLenum draw_mode = gl::draw_mode(rsx::method_registers.current_draw_clause.primitive);
|
||||||
bool single_draw = !supports_multidraw || (rsx::method_registers.current_draw_clause.first_count_commands.size() <= 1 || rsx::method_registers.current_draw_clause.is_disjoint_primitive);
|
const bool allow_multidraw = supports_multidraw && !g_cfg.video.disable_FIFO_reordering;
|
||||||
|
const bool single_draw = (!allow_multidraw ||
|
||||||
|
rsx::method_registers.current_draw_clause.first_count_commands.size() <= 1 ||
|
||||||
|
rsx::method_registers.current_draw_clause.is_disjoint_primitive);
|
||||||
|
|
||||||
if (upload_info.index_info)
|
if (upload_info.index_info)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1430,7 +1430,8 @@ void VKGSRender::end()
|
||||||
bool primitive_emulated = false;
|
bool primitive_emulated = false;
|
||||||
vk::get_appropriate_topology(rsx::method_registers.current_draw_clause.primitive, primitive_emulated);
|
vk::get_appropriate_topology(rsx::method_registers.current_draw_clause.primitive, primitive_emulated);
|
||||||
|
|
||||||
const bool single_draw = (!supports_multidraw ||
|
const bool allow_multidraw = supports_multidraw && !g_cfg.video.disable_FIFO_reordering;
|
||||||
|
const bool single_draw = (!allow_multidraw ||
|
||||||
rsx::method_registers.current_draw_clause.first_count_commands.size() <= 1 ||
|
rsx::method_registers.current_draw_clause.first_count_commands.size() <= 1 ||
|
||||||
rsx::method_registers.current_draw_clause.is_disjoint_primitive);
|
rsx::method_registers.current_draw_clause.is_disjoint_primitive);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue