freedreno: Convert nir_lower_tg4_to_tex to the NIR lowering helper.
authorEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 18:19:28 +0000 (11:19 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jul 2019 18:28:56 +0000 (11:28 -0700)
commit0d8a4c67cf44604d648696e007740bd9fa9faa4c
tree6dfe8d1e2dc6371fa502c303f28021ea2f3c5ba5
parent56f4ede73dce19e4d63b740994d41b89ccd66d71
freedreno: Convert nir_lower_tg4_to_tex to the NIR lowering helper.

Cuts a bunch of boilerplate.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3_nir_lower_tg4_to_tex.c