pan/mdg: Refactor texture op/mode handling
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 28 Aug 2020 12:35:19 +0000 (08:35 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 31 Aug 2020 11:46:32 +0000 (07:46 -0400)
commitf6e19dd3f45de7bc9edfe0aa9254abc3412c2610
tree80d49c6b527f26f4d513b87e84ee193a7440615d
parent80ebf110aed77ec4fdf05ed2266fd3736fa55040
pan/mdg: Refactor texture op/mode handling

We reduce the op to 4-bits, such that the derivative mode becomes its
own adjacent parameter. This cleans up handling of texture gathers, but
does not affect functionality.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6516>
src/panfrost/midgard/disassemble.c
src/panfrost/midgard/helpers.h
src/panfrost/midgard/midgard.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_derivatives.c