panfrost/midgard: Implement texelFetch (2D only)
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Jun 2019 23:17:34 +0000 (16:17 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 25 Jun 2019 20:39:17 +0000 (13:39 -0700)
commitf4bb7f096c84b783d0b4c8f33b1d751b98b67895
treebe01c3459370db6ebf40e778cb50406961653ada
parent4ac42f2b3882e9425c372f952cc32b395c6a7c3b
panfrost/midgard: Implement texelFetch (2D only)

txf instructions can result from blits, so handle them rather than
crash. Only works for 2D textures (not even 2D array texture) due to a
register allocation constraint that may not be sorted for a while.

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