summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.sources
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-07-11 08:41:49 -0700
committerJason Ekstrand <[email protected]>2014-08-05 10:56:16 -0700
commitd55f77b503ab7b59ecdd8f31c4f7dc498710e75b (patch)
tree88f3461e990201b51f8226a40bbc7e870abf8e14 /src/mesa/Makefile.sources
parent452d64986bd510753d13b56b33951f1b4348e3a9 (diff)
mesa/format_utils: Add a general format conversion function
Most format conversion operations required by GL can be performed by converting one channel at a time, shuffling the channels around, and optionally filling missing channels with zeros and ones. This adds a function to do just that in a general, yet efficient, way. v2: * Add better comments including full docs for functions * Don't use __typeof__ * Use inline helpers instead of writing out conversions by hand, * Force full loop unrolling for better performance v3: Add another set of parens around the MAX_INT macro Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r--src/mesa/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources
index 5ccce54e0b5..45c53ca0e0e 100644
--- a/src/mesa/Makefile.sources
+++ b/src/mesa/Makefile.sources
@@ -51,6 +51,7 @@ MAIN_FILES = \
$(SRCDIR)main/formats.c \
$(SRCDIR)main/format_pack.c \
$(SRCDIR)main/format_unpack.c \
+ $(SRCDIR)main/format_utils.c \
$(SRCDIR)main/framebuffer.c \
$(SRCDIR)main/get.c \
$(SRCDIR)main/genmipmap.c \