mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
GLES: Fix missing precision for sampler2DMSArray
We don't use sampler2DMS, but we do use sampler2DMSArray. I can't reproduce it on my phone, but a user who was running GLES on a Tegra X1 reported a shader compilation error related to this.
This commit is contained in:
parent
ddb3bad9c9
commit
76b508557e
@ -838,7 +838,7 @@ void ProgramShaderCache::CreateHeader()
|
||||
(is_glsles && g_ActiveConfig.backend_info.bSupportsPaletteConversion) ?
|
||||
"precision highp usamplerBuffer;" :
|
||||
"",
|
||||
v > GlslEs300 ? "precision highp sampler2DMS;" : "",
|
||||
v > GlslEs300 ? "precision highp sampler2DMSArray;" : "",
|
||||
v >= GlslEs310 ? "precision highp image2DArray;" : "");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user