panfrost: Prepare things to support non-native texture ops
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 17 Jun 2019 19:47:46 +0000 (21:47 +0200)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Jun 2019 13:36:07 +0000 (06:36 -0700)
commit5c17f84ae22ce2770f6b81eba3360d1ce693787b
treeb8cbaa2b75c14555362de1e2a02ea1ca744e8f9d
parentc57f7d0f152f79cf9bba35e23d754518531aefdf
panfrost: Prepare things to support non-native texture ops

We are about to add support for the TXS (texture size) op which is not
implemented using a midgard texture instruction. Let's rename emit_tex()
into emit_texop_native() and repurpose emit_tex() as a dispatcher.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/midgard_compile.c