mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Workaround qualcomm driver bug
It seems it doesn't like modifying inout variables in place - so instead use a temporary for ocol0/ocol1 and only write them once at the end of the shader
This commit is contained in:
@ -890,7 +890,7 @@ void ProgramShaderCache::CreateHeader()
|
||||
{
|
||||
case ES_FB_FETCH_TYPE::FB_FETCH_EXT:
|
||||
framebuffer_fetch_string = "#extension GL_EXT_shader_framebuffer_fetch: enable\n"
|
||||
"#define FB_FETCH_VALUE ocol0\n"
|
||||
"#define FB_FETCH_VALUE real_ocol0\n"
|
||||
"#define FRAGMENT_INOUT inout";
|
||||
break;
|
||||
case ES_FB_FETCH_TYPE::FB_FETCH_ARM:
|
||||
|
Reference in New Issue
Block a user