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

Merge pull request #81619 from Chaosus/fix_shader_const

Re-allows constants in global space to be initialized with function call
This commit is contained in:
Rémi Verschelde
2023-10-03 17:20:23 +02:00
3 changed files with 68 additions and 64 deletions

View File

@@ -711,9 +711,10 @@ public:
HashMap<StringName, Varying> varyings;
HashMap<StringName, Uniform> uniforms;
HashMap<StringName, Struct> structs;
HashMap<StringName, Function> functions;
Vector<StringName> render_modes;
Vector<Function> functions;
Vector<Function> vfunctions;
Vector<Constant> vconstants;
Vector<Struct> vstructs;