Only use lowp path for legacy ES

This commit is contained in:
Hans-Kristian Arntzen 2023-11-16 14:00:48 +01:00 committed by GitHub
parent 0e9bc69128
commit bf059200be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15051,7 +15051,7 @@ string CompilerGLSL::flags_to_qualifiers_glsl(const SPIRType &type, const Bitset
{
auto &execution = get_entry_point();
if (type.basetype == SPIRType::UInt && is_legacy())
if (type.basetype == SPIRType::UInt && is_legacy_es())
{
// HACK: This is a bool. See comment in type_to_glsl().
qual += "lowp ";