[Mesa-dev] [PATCH 4/7] glsl: copy how_declared when lowering interface blocks

Timothy Arceri t_arceri at yahoo.com.au
Sat Nov 21 00:02:03 PST 2015


From: Timothy Arceri <timothy.arceri at collabora.com>

Cc: Gregory Hainaut <gregory.hainaut at gmail.com>
---
 src/glsl/lower_named_interface_blocks.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/glsl/lower_named_interface_blocks.cpp b/src/glsl/lower_named_interface_blocks.cpp
index 114bb58..f29eba4 100644
--- a/src/glsl/lower_named_interface_blocks.cpp
+++ b/src/glsl/lower_named_interface_blocks.cpp
@@ -187,6 +187,7 @@ flatten_named_interface_blocks_declarations::run(exec_list *instructions)
             new_var->data.sample = iface_t->fields.structure[i].sample;
             new_var->data.patch = iface_t->fields.structure[i].patch;
             new_var->data.stream = var->data.stream;
+            new_var->data.how_declared = var->data.how_declared;
 
             new_var->init_interface_type(iface_t);
             hash_table_insert(interface_namespace, new_var,
-- 
2.4.3



More information about the mesa-dev mailing list