panfrost: Move the blend lowering code out of the gallium driver

Will be used by the pan_blend library.

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>
This commit is contained in:
Boris Brezillon 2021-02-09 18:06:59 +01:00 committed by Marge Bot
parent 334c96fa37
commit 37974bcd26
7 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,4 @@
C_SOURCES := \
nir/nir_lower_blend.c \
nir/nir_lower_blend.h \
\
pan_assemble.c \
pan_blend_cso.c \
pan_blend_cso.h \

View File

@ -25,9 +25,6 @@ files_panfrost = files(
'pan_screen.h',
'pan_resource.c',
'pan_resource.h',
'nir/nir_lower_blend.c',
'pan_context.c',
'pan_blit.c',
'pan_job.c',

View File

@ -29,7 +29,7 @@
#include "pan_util.h"
#include "panfrost-quirks.h"
#include "compiler/nir/nir_builder.h"
#include "nir/nir_lower_blend.h"
#include "panfrost/util/nir_lower_blend.h"
#include "panfrost/util/pan_lower_framebuffer.h"
#include "gallium/auxiliary/util/u_blend.h"
#include "util/u_memory.h"

View File

@ -98,6 +98,8 @@ shared_FILES := \
util_FILES := \
util/lcra.c \
util/lcra.h \
util/nir_lower_blend.c \
util/nir_lower_blend.h \
util/nir_mod_helpers.c \
util/pan_ir.c \
util/pan_ir.h \

View File

@ -22,6 +22,7 @@
libpanfrost_util_files = files(
'lcra.c',
'lcra.h',
'nir_lower_blend.c',
'nir_mod_helpers.c',
'pan_ir.c',
'pan_ir.h',