When compiling with gcc, I got this error:
../src/compiler/translator/SymbolTable.cpp: In function 'constexpr const sh::TType* sh::SpecificType(const sh::TType*, int)':
../src/compiler/translator/SymbolTable.cpp:263:31:
error: call to non-constexpr function 'sh::TBasicType
sh::TType::getBasicType() const'
switch (type->getBasicType())
~~~~~~~~~~~~~~~~~~^~
../src/compiler/translator/SymbolTable.cpp: In function 'constexpr const sh::TType* sh::VectorType(const sh::TType*, int)':
../src/compiler/translator/SymbolTable.cpp:293:31:
error: call to non-constexpr function 'sh::TBasicType
sh::TType::getBasicType() const'
switch (type->getBasicType())
~~~~~~~~~~~~~~~~~~^~
make: *** [src/
translator.target.mk:253: out/Release/obj.target/translator/src/compiler/translator/SymbolTable.o] Error 1
make: *** Waiting for unfinished jobs....
It was introduced in
https://github.com/google/angle/commit/614dd0f537d4cc1d0390e7cfa0691c3f0c698399Is it possible to fix it