mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 05:48:07 +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>
This commit is contained in:
parent
12ba6cfba7
commit
76c09c1792
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