Removed useless precision highp sampler2DArray (#3031)

Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
issam3105 2023-02-02 18:14:22 +01:00 committed by GitHub
parent 6f36b4fb3a
commit 10ec8e8882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2375,7 +2375,7 @@ namespace bgfx
bx::stringPrintf(code, "precision highp int;\n");
}
if (glsl_profile >= 300)
if (glsl_profile >= 300 && usesTextureArray)
{
bx::stringPrintf(code, "precision highp sampler2DArray;\n");
}