1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix "not" shader function return type

This commit is contained in:
Chaosus
2019-07-09 15:55:00 +03:00
parent 7f80c1dca8
commit 4083d0c784

View File

@@ -1918,9 +1918,9 @@ const ShaderLanguage::BuiltinFuncDef ShaderLanguage::builtin_func_defs[] = {
{ "all", TYPE_BOOL, { TYPE_BVEC3, TYPE_VOID } },
{ "all", TYPE_BOOL, { TYPE_BVEC4, TYPE_VOID } },
{ "not", TYPE_BOOL, { TYPE_BVEC2, TYPE_VOID } },
{ "not", TYPE_BOOL, { TYPE_BVEC3, TYPE_VOID } },
{ "not", TYPE_BOOL, { TYPE_BVEC4, TYPE_VOID } },
{ "not", TYPE_BVEC2, { TYPE_BVEC2, TYPE_VOID } },
{ "not", TYPE_BVEC3, { TYPE_BVEC3, TYPE_VOID } },
{ "not", TYPE_BVEC4, { TYPE_BVEC4, TYPE_VOID } },
//builtins - texture
{ "textureSize", TYPE_IVEC2, { TYPE_SAMPLER2D, TYPE_INT, TYPE_VOID } },