From 30960e1cafd69d3d4769230fe18213cc155f0bfa Mon Sep 17 00:00:00 2001 From: Radiant <69520693+RadiantUwU@users.noreply.github.com> Date: Fri, 9 Aug 2024 20:44:47 +0300 Subject: [PATCH] Fix a git goof up --- servers/rendering/shader_language.h | 37 ----------------------------- 1 file changed, 37 deletions(-) diff --git a/servers/rendering/shader_language.h b/servers/rendering/shader_language.h index 1f2d6ff5eba7..ef641d240bee 100644 --- a/servers/rendering/shader_language.h +++ b/servers/rendering/shader_language.h @@ -754,43 +754,6 @@ class ShaderLanguage { Node(NODE_TYPE_SHADER) {} }; - struct FunctionNode : public Node { - struct Argument { - ArgumentQualifier qualifier; - StringName name; - DataType type; - StringName struct_name; - DataPrecision precision; - //for passing textures as arguments - bool tex_argument_check; - TextureFilter tex_argument_filter; - TextureRepeat tex_argument_repeat; - bool tex_builtin_check; - StringName tex_builtin; - ShaderNode::Uniform::Hint tex_hint; - bool is_const; - int array_size; - - HashMap> tex_argument_connect; - }; - - StringName name; - DataType return_type = TYPE_VOID; - StringName return_struct_name; - DataPrecision return_precision = PRECISION_DEFAULT; - int return_array_size = 0; - Vector arguments; - BlockNode *body = nullptr; - bool can_discard = false; - - virtual DataType get_datatype() const override { return return_type; } - virtual String get_datatype_name() const override { return String(return_struct_name); } - virtual int get_array_size() const override { return return_array_size; } - - FunctionNode() : - Node(NODE_TYPE_FUNCTION) {} - }; - struct UniformOrderComparator { _FORCE_INLINE_ bool operator()(const Pair &A, const Pair &B) const { return A.second < B.second;