pan/midgard: Simplify and fix vector copyprop
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 6 Dec 2019 22:11:44 +0000 (17:11 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 12 Dec 2019 16:42:07 +0000 (11:42 -0500)
commit05b839f3545b5bf8a4c22ee6db0ad66d2b6bbc16
treee6e888c0927f2114243cd475b4b332601cdbd28b
parent4308d752811310689bbe71cba35b4357fa7efb0f
pan/midgard: Simplify and fix vector copyprop

Fixes a regression in QuakeSpasm. See
https://gitlab.freedesktop.org/mesa/mesa/issues/2169 for apitrace.

Closes #2169

Fixes: f72873e6aa0 ("pan/midgard: Copypropagate vector creation")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reported-by: Icecream95
src/panfrost/midgard/midgard_opt_copy_prop.c