panfrost: Move the blend logic out of the gallium driver
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 10 Feb 2021 07:47:39 +0000 (08:47 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 11:23:46 +0000 (11:23 +0000)
commit93824b6451a4cc3eece1d7afa77e9a440ee41ee3
tree79c4aa17819eb63b14bc57122a1a496e8143a16c
parent37974bcd26a5cc5b801a4cfb37eba909b5578798
panfrost: Move the blend logic out of the gallium driver

Most of it is API-independent, so let's move it out of the gallium
driver so it can be shared with the Vulkan driver.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8963>
13 files changed:
src/gallium/drivers/panfrost/Makefile.sources
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_blend_cso.h
src/gallium/drivers/panfrost/pan_blend_shaders.c
src/gallium/drivers/panfrost/pan_blending.c [deleted file]
src/gallium/drivers/panfrost/pan_blending.h [deleted file]
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_job.c
src/panfrost/Makefile.sources
src/panfrost/lib/meson.build
src/panfrost/lib/pan_blend.c [new file with mode: 0644]
src/panfrost/lib/pan_blend.h [new file with mode: 0644]