nir: use proper array sizing define for vectors
authorDave Airlie <airlied@redhat.com>
Wed, 3 Apr 2019 02:20:02 +0000 (12:20 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 3 Apr 2019 03:59:06 +0000 (13:59 +1000)
commiteb8fefe0904909729bac37c32e738223653cbb58
treeae3e94fdcbb32d1e00d44d37cdbe8f009093ab3a
parentd8ce915a6156f9669b395c48411ec89997cf2fe8
nir: use proper array sizing define for vectors

If we increase the vector size in the future it would be good
to not have to fix these up, this should change nothing at present.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_opt_copy_propagate.c