1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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