anv/pipeline: don't pass constant view index in multiview
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 27 Feb 2018 19:46:51 +0000 (11:46 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 21 Mar 2018 21:49:50 +0000 (14:49 -0700)
If view mask has only one bit set, view index is effectively a
constant, so doesn't need to be passed to the next stages, just always
set it.

Part of this was in the original patch that added
anv_nir_lower_multiview.c but disabled.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>

No differences found