[Mesa-dev] [PATCH 0/6] util: Clean up rgb9e5 and r11g11b10f

Jason Ekstrand jason at jlekstrand.net
Wed Aug 3 18:09:14 UTC 2016


This little series pulls the helpers for rgb9e5 and r11g11b10f into
src/util and cleans them up a bit.  We've been using them from both gallium
and mesa main for quite some time now but, since they were header-only,
they got left in gallium.

Jason Ekstrand (6):
  util: Move format_rgb9e5.h to src/util
  util: Move format_r11g11b10f.h to src/util
  util/format_rgb9e5: Get rid of the rgb9e5 union
  util/rgb9e5: Get rid of the float754 union
  util/format: Use explicitly sized types
  util/r11g11b10f: Whitespace cleanups

 src/gallium/auxiliary/Makefile.sources            |   2 -
 src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c |   2 +-
 src/gallium/auxiliary/util/u_format_other.c       |   4 +-
 src/gallium/auxiliary/util/u_format_r11g11b10f.h  | 232 ----------------------
 src/gallium/auxiliary/util/u_format_rgb9e5.h      | 161 ---------------
 src/mesa/main/format_pack.py                      |   4 +-
 src/mesa/main/format_unpack.py                    |   4 +-
 src/mesa/main/mipmap.c                            |   4 +-
 src/mesa/main/texstore.c                          |   4 +-
 src/mesa/swrast/s_texfetch.c                      |   4 +-
 src/mesa/vbo/vbo_attrib_tmp.h                     |   2 +-
 src/util/Makefile.sources                         |   2 +
 src/util/format_r11g11b10f.h                      | 227 +++++++++++++++++++++
 src/util/format_rgb9e5.h                          | 120 +++++++++++
 14 files changed, 363 insertions(+), 409 deletions(-)
 delete mode 100644 src/gallium/auxiliary/util/u_format_r11g11b10f.h
 delete mode 100644 src/gallium/auxiliary/util/u_format_rgb9e5.h
 create mode 100644 src/util/format_r11g11b10f.h
 create mode 100644 src/util/format_rgb9e5.h

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list