From 30904c6b6e7d885d9ade818328a2137c204e7efe Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 8 Nov 2021 15:49:29 +0200 Subject: [PATCH] Copy layout of InterfaceBlock --- source/glsl/syntax.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index ccdb7197..1489eb9e 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -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), -- 2.43.0