mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-01 22:30:02 +01: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();
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
@ -725,6 +728,8 @@ void GLGSRender::end()
|
|||
}
|
||||
}
|
||||
|
||||
m_graphics_state.clear(rsx::zeta_address_cyclic_barrier);
|
||||
|
||||
update_draw_state();
|
||||
|
||||
if (g_cfg.video.debug_output)
|
||||
|
|
|
|||
Loading…
Reference in a new issue