Prevents shader crash on GLES2 if unsupported built-in has been used

This commit is contained in:
Yuri Roubinsky 2019-10-30 12:38:35 +03:00
parent d749b738ad
commit 1b003f3d64
2 changed files with 608 additions and 608 deletions

File diff suppressed because it is too large Load diff

View file

@ -715,7 +715,7 @@ private:
enum SubClassTag {
TAG_GLOBAL,
TAG_ARRAY
TAG_ARRAY,
};
struct BuiltinFuncDef {
@ -724,6 +724,7 @@ private:
DataType rettype;
const DataType args[MAX_ARGS];
SubClassTag tag;
bool high_end;
};
struct BuiltinFuncOutArgs { //arguments used as out in built in functions