You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix shader constant sorting
This commit is contained in:
@@ -599,6 +599,7 @@ public:
|
||||
struct ShaderNode : public Node {
|
||||
|
||||
struct Constant {
|
||||
StringName name;
|
||||
DataType type;
|
||||
StringName type_str;
|
||||
DataPrecision precision;
|
||||
@@ -681,6 +682,7 @@ public:
|
||||
Vector<StringName> render_modes;
|
||||
|
||||
Vector<Function> functions;
|
||||
Vector<Constant> vconstants;
|
||||
Vector<Struct> vstructs;
|
||||
|
||||
ShaderNode() :
|
||||
|
||||
Reference in New Issue
Block a user