etnaviv: fix nir validation problem
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 30 Jul 2020 19:25:12 +0000 (21:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 Aug 2020 20:05:20 +0000 (20:05 +0000)
commit6fc52739bb49bd2ac94e909dcfe05caea49aa762
tree835fd15226d48ae986d30a78fa91f4f6d9ef266d
parentcaa107cb8db930bc59cd557a325a6a0bc4a86565
etnaviv: fix nir validation problem

Fixes the following validation problem:
  error: nir_intrinsic_align_offset(instr) < nir_intrinsic_align_mul(instr)

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Tested-by: Lukas F. Hartmann <lukas@mntmn.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6127>
src/gallium/drivers/etnaviv/etnaviv_nir.c