diff options
author | Timothy Arceri <[email protected]> | 2015-11-21 11:08:36 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-12-01 12:45:07 +1100 |
commit | 76c09c1792ff1209bd34e1ae0e17b9c4929a892f (patch) | |
tree | 3a4ed9fe999edc5f34932d6ed4fd04d0447fbba2 /src/glsl/lower_named_interface_blocks.cpp | |
parent | 12ba6cfba7974cdf4609b146303a5988447d30c2 (diff) |
glsl: copy how_declared when lowering interface blocks
Cc: Gregory Hainaut <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/lower_named_interface_blocks.cpp')
-rw-r--r-- | src/glsl/lower_named_interface_blocks.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/lower_named_interface_blocks.cpp b/src/glsl/lower_named_interface_blocks.cpp index 114bb5811b4..f29eba4f75f 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, |