1
0
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:
Yuri Roubinsky
2020-04-11 12:40:17 +03:00
parent 8806e7d5f3
commit bc30f541e6
4 changed files with 21 additions and 14 deletions

View File

@@ -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() :