panfrost: Copy blend constant into variant even when reusing it
authorIcecream95 <ixn@disroot.org>
Thu, 5 May 2022 00:57:40 +0000 (12:57 +1200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 20 May 2022 23:17:07 +0000 (23:17 +0000)
commit80404c8b640bdc24274b67561842ebf684e741f5
tree77933985ce1077dd2dbe95a08e51df6aa818f654
parentc81cd989c857a5b7384f534407b0ec1e9ddedf12
panfrost: Copy blend constant into variant even when reusing it

Otherwise future lookups will match searches for the old constant.

Fixes: bbff09b9521 ("panfrost: Move the blend shader cache at the device level")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6355
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16343>
src/panfrost/lib/pan_blend.c