mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Backport 6b99bda "Added support for arrays as shader struct members" to 3.4
This commit is contained in:
parent
fc6bee0750
commit
25016bf715
5 changed files with 300 additions and 16 deletions
|
|
@ -214,6 +214,9 @@ static String dump_node_code(SL::Node *p_node, int p_level) {
|
|||
case SL::Node::TYPE_ARRAY_DECLARATION: {
|
||||
// FIXME: Implement
|
||||
} break;
|
||||
case SL::Node::TYPE_ARRAY_CONSTRUCT: {
|
||||
// FIXME: Implement
|
||||
} break;
|
||||
case SL::Node::TYPE_CONSTANT: {
|
||||
SL::ConstantNode *cnode = (SL::ConstantNode *)p_node;
|
||||
return get_constant_text(cnode->datatype, cnode->values);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue