Fix completion of functions with struct param/return type in shaders

This commit is contained in:
Yuri Rubinsky 2024-05-28 12:13:25 +03:00
parent b7feebefab
commit 246a760323
3 changed files with 22 additions and 14 deletions

View file

@ -583,7 +583,7 @@ public:
ArgumentQualifier qualifier;
StringName name;
DataType type;
StringName type_str;
StringName struct_name;
DataPrecision precision;
//for passing textures as arguments
bool tex_argument_check;
@ -618,7 +618,7 @@ public:
struct Constant {
StringName name;
DataType type;
StringName type_str;
StringName struct_name;
DataPrecision precision;
ConstantNode *initializer = nullptr;
int array_size;