pan/mdg: prepare effective_writemask()
authorItalo Nicola <italonicola@collabora.com>
Fri, 10 Jul 2020 16:07:06 +0000 (16:07 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jul 2020 22:55:36 +0000 (22:55 +0000)
commit598527f2febfd14b97d179363827f6c6a1d5281e
treeb39e1e9a0a90df4a6390d12e67f831407b9d0204
parentb1b0ce04b3edef92f5a69ea9b8e0453348104757
pan/mdg: prepare effective_writemask()

In the next commits we will be removing the `alu` field from
midgard_instruction in order to simplify the code.
effective_writemask() doesn't actually use `alu` for anything, it only
needs to know the opcode.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5933>
src/panfrost/midgard/disassemble.c
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_ops.h
src/panfrost/midgard/midgard_print.c