v3d: remove redefinition of tmu operations on nir_to_vir
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 2 Jul 2019 10:45:49 +0000 (12:45 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 12 Jul 2019 09:48:17 +0000 (11:48 +0200)
commit3912a32a79adec7af78964fc506f719637d59c7e
treec2f245f8ae0706ccf5b5ab5b4ffc0287341e47fb
parentc2ff38d2df9ae3cf6146827f74a815826295418d
v3d: remove redefinition of tmu operations on nir_to_vir

They are already defined, although is a slightly different format on
the generated packet headers, so it was needed to change how it is
used on nir_to_vir.

In addition to allow to remove some duplicated headers, it will allow
to define just one get_op_for_atomic_add aux method later to support
using inc/dec instead of add of 1/-1.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/nir_to_vir.c