summaryrefslogtreecommitdiffstats
path: root/src/util/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-06-27 15:05:31 -0700
committerEric Anholt <[email protected]>2019-11-14 10:47:20 -0800
commit882ca6dfb0f3d17e0f8bc917307d915ab1718069 (patch)
tree652b9932fc1182d4d191d7970fcd10c3687fbd3b /src/util/Makefile.sources
parentac78ca4b39ce6e927f824b928d17f30c1d9273ce (diff)
util: Move gallium's PIPE_FORMAT utils to /util/format/
To make PIPE_FORMATs usable from non-gallium parts of Mesa, I want to move their helpers out of gallium. Since u_format used util_copy_rect(), I moved that in there, too. I've put it in a separate directory in util/ because it's a big chunk of related code, and it's not clear to me whether we might want it as a separate library from libmesa_util at some point. Closes: #1905 Acked-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/util/Makefile.sources')
-rw-r--r--src/util/Makefile.sources23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources
index 73d4f7106b0..dbdcbede627 100644
--- a/src/util/Makefile.sources
+++ b/src/util/Makefile.sources
@@ -21,6 +21,26 @@ MESA_UTIL_FILES := \
double.h \
fast_idiv_by_const.c \
fast_idiv_by_const.h \
+ format/u_format.c \
+ format/u_format.h \
+ format/u_format_bptc.c \
+ format/u_format_bptc.h \
+ format/u_format_etc.c \
+ format/u_format_etc.h \
+ format/u_format_latc.c \
+ format/u_format_latc.h \
+ format/u_format_other.c \
+ format/u_format_other.h \
+ format/u_format_rgtc.c \
+ format/u_format_rgtc.h \
+ format/u_format_s3tc.c \
+ format/u_format_s3tc.h \
+ format/u_format_tests.c \
+ format/u_format_tests.h \
+ format/u_format_yuv.c \
+ format/u_format_yuv.h \
+ format/u_format_zs.c \
+ format/u_format_zs.h \
format_r11g11b10f.h \
format_rgb9e5.h \
format_srgb.h \
@@ -96,7 +116,8 @@ MESA_UTIL_FILES := \
vma.h
MESA_UTIL_GENERATED_FILES = \
- format_srgb.c
+ format_srgb.c \
+ format/u_format_table.c
XMLCONFIG_FILES := \
xmlconfig.c \