pan/midgard: Bytemasks should round up, not round down
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 10 Jan 2020 23:04:39 +0000 (18:04 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Jan 2020 14:18:48 +0000 (14:18 +0000)
commit13c32e5fede9c3ff50d9c6da888914a713654c76
tree9f3ea66595c692734141be668e5d07ed404de7d5
parent5e8386c606293de4f9cbbc2666a9e9e3758b6b29
pan/midgard: Bytemasks should round up, not round down

Otherwise we'll lost components in DCE.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3462>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_opt_dce.c
src/panfrost/midgard/mir.c