mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00: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:
parent
29a9ed043b
commit
8d68adcaf3
2 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue