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:
parent
334c96fa37
commit
37974bcd26
|
@ -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 \
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue