1
0
Fork 0
mirror of https://github.com/yuzu-emu/yuzu-android.git synced 2025-01-17 17:17:10 +00:00

gl_rasterizer: Add texture fetch barrier for fragments

Fixes flicker seen in XC2
This commit is contained in:
ameerj 2021-06-08 23:52:28 -04:00
parent 3f31a547e0
commit 6650c4799d

View file

@ -437,7 +437,7 @@ void RasterizerOpenGL::WaitForIdle() {
}
void RasterizerOpenGL::FragmentBarrier() {
glMemoryBarrier(GL_FRAMEBUFFER_BARRIER_BIT);
glMemoryBarrier(GL_FRAMEBUFFER_BARRIER_BIT | GL_TEXTURE_FETCH_BARRIER_BIT);
}
void RasterizerOpenGL::TiledCacheBarrier() {