pan/midgard: Round up bytemasks when promoting uniforms
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Feb 2020 14:37:28 +0000 (09:37 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Feb 2020 21:02:35 +0000 (21:02 +0000)
commit93ca47e046ca1cd1385e5941f3dea731ffe8e5af
tree09ef9710c9f413610f5ae9eef0f5cfc65376cb24
parentfd888d351f60c7dcfaff475c083c9be7bc1be626
pan/midgard: Round up bytemasks when promoting uniforms

Fixes crashes with uniform promotion in certain mixed type
circumstances.

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