From e1fdcddafe95ca8a62fc86c8219de459fcbd219e Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 22 Aug 2014 09:49:09 -0700 Subject: mesa: Autogenerate format_unpack.c Signed-off-by: Jason Ekstrand v2 by Samuel Iglesias : - Add usage of INDENT_FLAGS in Makefile.am v3 by Samuel Iglesias : - Modify unpack_float_*() and unpack_ubyte_*() function generation to use c.datatype() and f.datatype() - Fix out-of-tree build v4 by Samuel Iglesias : - format_unpack.c.mako is now format_unpack.py, with the template code inlined. It now auto-generates format_unpack.c - Add format_unpack.c to gitignore. - Simplify Makefile.am change - Modify SConscript to build format_unpack.c with scons v5 by Samuel Iglesias : - Don't allow float to non-normalized integer format conversions. Signed-off-by: Samuel Iglesias Gonsalvez Reviewed-by: Jason Ekstrand --- src/mesa/Makefile.sources | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/Makefile.sources') diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index e4d3ba1..2e321f3 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -95,12 +95,12 @@ MAIN_FILES = \ $(SRCDIR)main/fog.h \ $(SRCDIR)main/format_pack.h \ $(BUILDDIR)main/format_pack.c \ + $(SRCDIR)main/format_unpack.h \ + $(BUILDDIR)main/format_unpack.c \ $(SRCDIR)main/formatquery.c \ $(SRCDIR)main/formatquery.h \ $(SRCDIR)main/formats.c \ $(SRCDIR)main/formats.h \ - $(SRCDIR)main/format_unpack.c \ - $(SRCDIR)main/format_unpack.h \ $(SRCDIR)main/format_utils.c \ $(SRCDIR)main/format_utils.h \ $(SRCDIR)main/framebuffer.c \ -- cgit v1.1