Merge pull request #10311 from JosJuice/gles-sampler2dmsarray

GLES: Fix missing precision for sampler2DMSArray
This commit is contained in:
Léo Lam 2022-01-01 16:49:34 +01:00 committed by GitHub
commit 13939b13d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;" : "");
}