mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02: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;
|
delete var;
|
||||||
} else {
|
} else {
|
||||||
if (this->layout.flags.q.explicit_binding) {
|
if (this->layout.flags.q.explicit_binding) {
|
||||||
apply_explicit_binding(state, &loc, var,
|
apply_explicit_binding(state, &loc, var, var->type,
|
||||||
var->get_interface_type(), &this->layout);
|
&this->layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
var->data.stream = qual_stream;
|
var->data.stream = qual_stream;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue