[Mesa-dev] [PATCH v2 00/12] Improve integer texture support & add i965 texture_rgb10_a2ui support

Jordan Justen jordan.l.justen at intel.com
Wed Jul 11 14:58:46 PDT 2012


Some test results on i965
--
piglit quick fbo_integer_readpixels_sint_uint: fail => pass
oglconform int-textures basic.clamping.int: fail => pass
oglconform packed-px-uint: skip => 74 of 89 passing

v2:
 * Add glformats.c/glformats.h
 * Move integer texture clamping fixes from ReadPixels to CopyTexSubImage
 * updated docs/GL3.txt for i965 & texture_rgb10_a2ui
 * Fix ugly pseudo-template in .h. I just duplicated the code and dropped
   pack_int_cases_tmp.h.

v1:
 * Improve integer texture support
 * Add i965 texture_rgb10_a2ui support

Jordan Justen (12):
  mesa: add glformats integer type/format detection routines
  mesa pack: use _mesa_problem instead of assert
  mesa unpack: use _mesa_problem rather than assert
  mesa formats: unpack ARGB8888/XRGB8888
  mesa pack: handle uint and int clamping properly
  mesa pack: handle packed integer formats with clamping
  ReadPixels: handle signed/unsigned integer clamping
  mesa GetTexImage: handle signed/unsigned integer clamping
  mesa texstore: handle signed/unsigned integer clamping
  meta: allow CopyTexSubImage on integer formats
  mesa formats: add MESA_FORMAT_ABGR2101010_UINT
  i965: add ARB_texture_rgb10_a2ui support

 docs/GL3.txt                                     |    2 +-
 src/mesa/drivers/common/meta.c                   |   18 +-
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |    1 +
 src/mesa/drivers/dri/intel/intel_extensions.c    |    1 +
 src/mesa/main/drawpix.c                          |    3 +-
 src/mesa/main/format_pack.c                      |   28 +
 src/mesa/main/format_unpack.c                    |   73 +++
 src/mesa/main/formats.c                          |   28 +
 src/mesa/main/formats.h                          |    5 +-
 src/mesa/main/glformats.c                        |  185 ++++++
 src/mesa/main/glformats.h                        |   63 ++
 src/mesa/main/image.c                            |   76 ---
 src/mesa/main/image.h                            |    3 -
 src/mesa/main/pack.c                             |  673 +++++++++++++++++++++-
 src/mesa/main/pack.h                             |   12 +-
 src/mesa/main/pack_tmp.h                         |    9 +-
 src/mesa/main/readpix.c                          |   18 +-
 src/mesa/main/texformat.c                        |    1 +
 src/mesa/main/texgetimage.c                      |   12 +-
 src/mesa/main/teximage.c                         |   11 +-
 src/mesa/main/texstore.c                         |  163 +++++-
 src/mesa/sources.mak                             |    1 +
 src/mesa/state_tracker/st_cb_drawpixels.c        |    3 +-
 src/mesa/swrast/s_texfetch.c                     |    8 +-
 24 files changed, 1254 insertions(+), 143 deletions(-)
 create mode 100644 src/mesa/main/glformats.c
 create mode 100644 src/mesa/main/glformats.h

-- 
1.7.9.5



More information about the mesa-dev mailing list