diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-08-21 12:38:05 -0700 |
---|---|---|
committer | Iago Toral Quiroga <itoral@igalia.com> | 2015-01-12 11:20:28 +0100 |
commit | e0439f750557bc6880a8a4eccb38256fafd63fae (patch) | |
tree | 3b12d414feba21ec08437adb376b47f5a3f2633d /src/mesa/Makefile.sources | |
parent | 2b37bea010a9c9333a813cc77d28629e1382c0be (diff) | |
download | external_mesa3d-e0439f750557bc6880a8a4eccb38256fafd63fae.zip external_mesa3d-e0439f750557bc6880a8a4eccb38256fafd63fae.tar.gz external_mesa3d-e0439f750557bc6880a8a4eccb38256fafd63fae.tar.bz2 |
mesa: Autogenerate most of format_pack.c
We were auto-generating it before. The problem was that the autogeneration
tool we were using was called "copy, paste, and edit". Let's use a more
sensible solution.
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
v2 by Samuel Iglesias <siglesias@igalia.com>
- Remove format_pack.c as it is now autogenerated
- Add usage of INDENT_FLAGS in Makefile.am
- Remove trailing blank line
v3 by Samuel Iglesias <siglesias@igalia.com>
- Merge format_convert.py into format_parser.py
- Adapt pack_*_* function generations
- Fix out-of-tree build
v4 by Samuel Iglesias <siglesias@igalia.com>
- _get_datatype() is now a helper function
v5 by Samuel Iglesias <siglesias@igalia.com>
- format_pack.c.mako is now format_pack.py, with the template code
inlined. It now auto-generates format_pack.c
- Simplify Makefile.am change.
- Modify SConscript to build format_pack.c with scons.
- Remove run_mako.py
- Add format_pack.c to gitignore
v6 by Samuel Iglesias <siglesias@igalia.com>:
- Don't allow float to non-normalized integer format conversions.
- Add non-normalized formats support for ubyte packing functions. Merge
the previously separated patch.
- Add clamping for non-normalized integer formats in pack_ubyte*()
v7 by Samuel Iglesias <siglesias@igalia.com>:
- Add assert to check that sRGB formats are 8-bit size.
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/Makefile.sources')
-rw-r--r-- | src/mesa/Makefile.sources | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index 7ac3bbc..e4d3ba1 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -93,8 +93,8 @@ MAIN_FILES = \ $(SRCDIR)main/ffvertex_prog.h \ $(SRCDIR)main/fog.c \ $(SRCDIR)main/fog.h \ - $(SRCDIR)main/format_pack.c \ $(SRCDIR)main/format_pack.h \ + $(BUILDDIR)main/format_pack.c \ $(SRCDIR)main/formatquery.c \ $(SRCDIR)main/formatquery.h \ $(SRCDIR)main/formats.c \ |