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:
kd-11 2025-12-26 16:04:18 +03:00 committed by kd-11
parent ba673d1407
commit e586986845

View file

@ -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)