You've already forked godot
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:
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user