pan/midgard: Add mir_upper_override helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 13 Nov 2019 02:22:53 +0000 (21:22 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 Dec 2019 00:23:02 +0000 (19:23 -0500)
commit9a5d462480d9d5d1f91fc7984a7f423dd6cd46a3
tree31ad041addfe42b1c9d411f48e7c5e6a947a324c
parentfc4193d0c72dda6d228337fda813122e3c38f3d4
pan/midgard: Add mir_upper_override helper

Checks if we should emit a dest_override=upper, given a mask.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/mir.c