mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
glsl: fix max binding validation for uniform blocks
Regression as of 64710db664
We can't use the type returned by get_interface_type() as
the interface type has arrays removed.
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
ad5f6b03e7
commit
6463d36394
1 changed files with 2 additions and 2 deletions
|
|
@ -6962,8 +6962,8 @@ ast_interface_block::hir(exec_list *instructions,
|
|||
delete var;
|
||||
} else {
|
||||
if (this->layout.flags.q.explicit_binding) {
|
||||
apply_explicit_binding(state, &loc, var,
|
||||
var->get_interface_type(), &this->layout);
|
||||
apply_explicit_binding(state, &loc, var, var->type,
|
||||
&this->layout);
|
||||
}
|
||||
|
||||
var->data.stream = qual_stream;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue