panfrost: Take the number of samples into account in blend shaders
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 8 Dec 2020 10:42:15 +0000 (11:42 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Dec 2020 16:29:25 +0000 (16:29 +0000)
commitdec4d15e6773ff9fd6b6d71d8f393419ae556a94
treedf1e12570c077f39da5ab3db5ef35f9ee8f58e58
parente27052281aa97f17df5b221337b1c5f3e7464b61
panfrost: Take the number of samples into account in blend shaders

Midgard has to split the writeout instruction if the number of bits per
pixel exceeds 128. We thus need to take the number of samples into
account when creating blend shaders.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7984>
.gitlab-ci/deqp-panfrost-t860-fails.txt
src/gallium/drivers/panfrost/pan_blend.h
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_blend_shaders.c
src/gallium/drivers/panfrost/pan_job.c