Fix completion of functions with struct param/return type in shaders
This commit is contained in:
parent
b7feebefab
commit
246a760323
3 changed files with 22 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue