pan/midgard: Lower txd with lower_tex
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 19 Dec 2019 16:12:50 +0000 (11:12 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 20 Dec 2019 08:10:39 +0000 (09:10 +0100)
commitc57337bbd3e3620bcb0f38d23f43ea58c382737d
tree53d5791d178e07a934f733f06e9d9abac4973da5
parentda73651da420390897b31c062a23355b8ec1680a
pan/midgard: Lower txd with lower_tex

This is a hack since we do have native gradient stuff, but for the
moment I'm more interested in conformance and the lowered code is good
enough. Fixes
dEQP-GLES3.functional.shaders.texture_functions.texturegrad.sampler2d_fixed_fragment

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3169>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3169>
src/panfrost/midgard/midgard_compile.c