summaryrefslogtreecommitdiff
path: root/servers/visual/shader_language.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-03 18:47:47 +0100
committerGitHub <noreply@github.com>2019-11-03 18:47:47 +0100
commit5dac35a300504bfa193e98102eac727b287323ea (patch)
treeb5add4e86b5dcb435da7eddf9e7cc1695af35909 /servers/visual/shader_language.h
parent68dc6c6c62033987ad23037339d48d7859aa3d74 (diff)
parent5e44b5be81de62fdce4716445142cd418988a2dc (diff)
Merge pull request #33280 from Chaosus/remove_unsupported_shader_types
Prevents usage of unsupported texture shader types in GLES2
Diffstat (limited to 'servers/visual/shader_language.h')
-rw-r--r--servers/visual/shader_language.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/shader_language.h b/servers/visual/shader_language.h
index 0666f5c79c..0b0947da0c 100644
--- a/servers/visual/shader_language.h
+++ b/servers/visual/shader_language.h
@@ -744,6 +744,8 @@ private:
static const BuiltinFuncDef builtin_func_defs[];
static const BuiltinFuncOutArgs builtin_func_out_args[];
+ Error _validate_datatype(DataType p_type);
+
bool _validate_function_call(BlockNode *p_block, OperatorNode *p_func, DataType *r_ret_type);
bool _parse_function_arguments(BlockNode *p_block, const Map<StringName, BuiltInInfo> &p_builtin_types, OperatorNode *p_func, int *r_complete_arg = NULL);