]> git.tdb.fi Git - libs/gl.git/commitdiff
Copy layout of InterfaceBlock
authorMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 13:49:29 +0000 (15:49 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 13:49:29 +0000 (15:49 +0200)
source/glsl/syntax.cpp

index ccdb7197e570d7f786b65129b12e9196a884ccb4..1489eb9e2af7e04ec542deb1c740efa6d8fc4d7f 100644 (file)
@@ -294,6 +294,7 @@ void VariableDeclaration::visit(NodeVisitor &visitor)
 
 InterfaceBlock::InterfaceBlock(const InterfaceBlock &other):
        Statement(other),
+       layout(other.layout),
        interface(other.interface),
        block_name(other.block_name),
        members(other.members),