mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 08:22:53 +00:00
gl_rasterizer: Add texture fetch barrier for fragments
Fixes flicker seen in XC2
This commit is contained in:
parent
3f31a547e0
commit
6650c4799d
|
@ -437,7 +437,7 @@ void RasterizerOpenGL::WaitForIdle() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::FragmentBarrier() {
|
void RasterizerOpenGL::FragmentBarrier() {
|
||||||
glMemoryBarrier(GL_FRAMEBUFFER_BARRIER_BIT);
|
glMemoryBarrier(GL_FRAMEBUFFER_BARRIER_BIT | GL_TEXTURE_FETCH_BARRIER_BIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::TiledCacheBarrier() {
|
void RasterizerOpenGL::TiledCacheBarrier() {
|
||||||
|
|
Loading…
Reference in a new issue