[Mesa-dev] [PATCH 0/8] More format conversion reworking

Jason Ekstrand jason at jlekstrand.net
Sat Aug 23 15:23:10 PDT 2014


I needed a break from the i965 compiler backend, so I wrote some more
format conversion patches.  A lot of these are bug fixes or stand-alones.
However, the last three require all the previous ones.

Jason Ekstrand (8):
  main/format_util: Fix a bug in one of the format helper functions
  main: Fix packing/unpacking of MESA_FORMAT_R5G6B5_UNORM
  main/colormac: Remove an unused macro
  main: Fix A1R5G5B5 packing/unpacking
  mesa/format_utils: Prefix and expose the conversion helper functions
  main: Autogenerate most of format_pack.c
  MAYBEREVERT: Fill X components with 1
  main: Autogenerate format_unpack.c

 src/mesa/Makefile.am               |   18 +
 src/mesa/Makefile.sources          |    4 +-
 src/mesa/main/colormac.h           |    3 -
 src/mesa/main/format_convert.py    |   72 +
 src/mesa/main/format_pack.c        |   18 +-
 src/mesa/main/format_pack.c.mako   |  900 ++++++++
 src/mesa/main/format_unpack.c      | 4329 ------------------------------------
 src/mesa/main/format_unpack.c.mako |  883 ++++++++
 src/mesa/main/format_utils.c       |  215 +-
 src/mesa/main/format_utils.h       |  105 +
 src/mesa/main/formats.c            |   14 +-
 src/mesa/main/run_mako.py          |    7 +
 src/mesa/main/texstore.c           |    2 +-
 src/mesa/swrast/s_texfetch_tmp.h   |   16 +-
 14 files changed, 2061 insertions(+), 4525 deletions(-)
 create mode 100644 src/mesa/main/format_convert.py
 create mode 100644 src/mesa/main/format_pack.c.mako
 delete mode 100644 src/mesa/main/format_unpack.c
 create mode 100644 src/mesa/main/format_unpack.c.mako
 create mode 100644 src/mesa/main/run_mako.py

-- 
2.1.0



More information about the mesa-dev mailing list