1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Fix vector reduction in shader language

(cherry picked from commit 5b50685b38)
This commit is contained in:
JFonS
2018-04-29 20:58:42 +02:00
committed by Hein-Pieter van Braam
parent c461b15720
commit 4de1d0905a
2 changed files with 44 additions and 3 deletions

View File

@@ -532,6 +532,7 @@ public:
static bool convert_constant(ConstantNode *p_constant, DataType p_to_type, ConstantNode::Value *p_value = NULL);
static DataType get_scalar_type(DataType p_type);
static int get_cardinality(DataType p_type);
static bool is_scalar_type(DataType p_type);
static bool is_sampler_type(DataType p_type);