mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
glsl: copy how_declared when lowering interface blocks
Cc: Gregory Hainaut <gregory.hainaut@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 76c09c1792)
This commit is contained in:
parent
e0b11bcc87
commit
781a68555d
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue