mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
nir/xfb: do not use bare interface type
In commit3b3653c4cfwe decided not to use bare types; hence do not use bare type when comparing with interface type to find out if the xfb variable is an array block. This fixes dEQP-VK.transform_feedback.* tests. Fixes:3b3653c4cf("nir/spirv: don't use bare types, remove assert in split vars for testing") CC: Dave Airlie <airlied@redhat.com> CC: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
b48e64f903
commit
83f1b0e95b
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ nir_gather_xfb_info_with_varyings(const nir_shader *shader,
|
|||
*/
|
||||
bool is_array_block = var->interface_type != NULL &&
|
||||
glsl_type_is_array(var->type) &&
|
||||
glsl_without_array(var->type) == glsl_get_bare_type(var->interface_type);
|
||||
glsl_without_array(var->type) == var->interface_type;
|
||||
|
||||
if (var->data.explicit_offset && !is_array_block) {
|
||||
unsigned offset = var->data.offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue