nir/xfb: do not use bare interface type
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 10 Apr 2019 15:13:19 +0000 (17:13 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 11 Apr 2019 09:52:45 +0000 (11:52 +0200)
commit83f1b0e95b92339515cf1a0a37d1ad9da942825b
treed2b9495bc361a6a099c7648b29eb9009f443db7c
parentb48e64f903be0d6449835e967a395673d89e2672
nir/xfb: do not use bare interface type

In commit 3b3653c4cfb we 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: 3b3653c4cfb ("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>
src/compiler/nir/nir_gather_xfb_info.c