mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-01 12:15:27 -06:00
rsx/gl: Clear cyclic Z barrier flag
- OpenGL doesn't care about this but we clear it anyway to indicate it is no longer pending.
This commit is contained in:
parent
ba673d1407
commit
e586986845
@ -715,7 +715,10 @@ void GLGSRender::end()
|
|||||||
m_frame_stats.textures_upload_time += m_profiler.duration();
|
m_frame_stats.textures_upload_time += m_profiler.duration();
|
||||||
|
|
||||||
gl::command_context cmd{ gl_state };
|
gl::command_context cmd{ gl_state };
|
||||||
if (auto ds = std::get<1>(m_rtts.m_bound_depth_stencil)) ds->write_barrier(cmd);
|
if (auto ds = std::get<1>(m_rtts.m_bound_depth_stencil))
|
||||||
|
{
|
||||||
|
ds->write_barrier(cmd);
|
||||||
|
}
|
||||||
|
|
||||||
for (auto &rtt : m_rtts.m_bound_render_targets)
|
for (auto &rtt : m_rtts.m_bound_render_targets)
|
||||||
{
|
{
|
||||||
@ -725,6 +728,8 @@ void GLGSRender::end()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_graphics_state.clear(rsx::zeta_address_cyclic_barrier);
|
||||||
|
|
||||||
update_draw_state();
|
update_draw_state();
|
||||||
|
|
||||||
if (g_cfg.video.debug_output)
|
if (g_cfg.video.debug_output)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user