mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-11-30 08:25:48 -08:00
gl_rasterizer: Add texture fetch barrier for fragments
Fixes flicker seen in XC2
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user