pan/bi: Pass second src for load_vary ops
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 18 Mar 2020 15:55:10 +0000 (11:55 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 03:23:07 +0000 (03:23 +0000)
commit37f14c9e50ce144cc81bebf5124e7a9cd0ef0288
tree450125390af664ea4975e9c5e3d26980d6b3a814
parent265169f48ada87fcea8e55dc4176954fb86d1153
pan/bi: Pass second src for load_vary ops

For direct, this is just 0, but for indirct, this is a sample mask
preloaded in R61. Handle this at code emit time instead of trying to do
crazy monkeypatching later.

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