You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Allow using vertex varying in custom functions under any circumstances
This commit is contained in:
@@ -876,6 +876,14 @@ private:
|
||||
|
||||
VaryingFunctionNames varying_function_names;
|
||||
|
||||
struct VaryingUsage {
|
||||
ShaderNode::Varying *var;
|
||||
int line;
|
||||
};
|
||||
List<VaryingUsage> unknown_varying_usages;
|
||||
|
||||
bool _check_varying_usages(int *r_error_line, String *r_error_message) const;
|
||||
|
||||
TkPos _get_tkpos() {
|
||||
TkPos tkp;
|
||||
tkp.char_idx = char_idx;
|
||||
|
||||
Reference in New Issue
Block a user