mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
glsl: add xfb qualifier lowering support for named blocks
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4a873ef049
commit
ba7a7d4c39
1 changed files with 7 additions and 0 deletions
|
|
@ -179,6 +179,13 @@ flatten_named_interface_blocks_declarations::run(exec_list *instructions)
|
|||
}
|
||||
new_var->data.location = iface_t->fields.structure[i].location;
|
||||
new_var->data.explicit_location = (new_var->data.location >= 0);
|
||||
new_var->data.offset = iface_t->fields.structure[i].offset;
|
||||
new_var->data.explicit_xfb_offset =
|
||||
(iface_t->fields.structure[i].offset >= 0);
|
||||
new_var->data.xfb_buffer =
|
||||
iface_t->fields.structure[i].xfb_buffer;
|
||||
new_var->data.explicit_xfb_buffer =
|
||||
iface_t->fields.structure[i].explicit_xfb_buffer;
|
||||
new_var->data.interpolation =
|
||||
iface_t->fields.structure[i].interpolation;
|
||||
new_var->data.centroid = iface_t->fields.structure[i].centroid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue