[Mesa-dev] [PATCH v2 0/4] Add support for EXT_texture_sRGB_R8 to core and gallium

Gert Wollny gert.wollny at collabora.com
Tue Oct 30 10:46:16 UTC 2018


Dear all, 

This is an update to the series send yesterday. Changes applied as suggested by 
Ilia and Roland: 

- split the Gallium-mesa/st patch in two according parts (Roland) 
- do away most of the SVGA changes and only keep the additional entry 
  in the format table to make the code compile (Ilia) 
- Don't provide a fallback format in mesa/st (Ilia)
- rework the logic when a GL_RED format should be accepted on GLES

Thanks for reviewing, 
Gert 

Gert Wollny (4):
  mesa/core: Add definitions and translations for EXT_texture_sRGB_R8
  Gallium: Add format PIPE_FORMAT_R8_SRGB
  mesa/st: Add support for EXT_texture_sRGB_R8
  r600: Add support for EXT_texture_sRGB_R8

 src/gallium/auxiliary/util/u_format.csv      |  1 +
 src/gallium/auxiliary/util/u_format.h        |  4 ++++
 src/gallium/auxiliary/util/u_format_tests.c  |  4 ++++
 src/gallium/drivers/r600/r600_state_common.c |  3 ++-
 src/gallium/drivers/svga/svga_format.c       |  1 +
 src/gallium/include/pipe/p_format.h          |  2 ++
 src/mesa/drivers/dri/radeon/radeon_texture.c |  2 +-
 src/mesa/main/extensions_table.h             |  1 +
 src/mesa/main/formats.c                      |  2 ++
 src/mesa/main/formats.csv                    |  1 +
 src/mesa/main/formats.h                      |  1 +
 src/mesa/main/glformats.c                    | 17 +++++++++++++++--
 src/mesa/main/mtypes.h                       |  1 +
 src/mesa/main/texformat.c                    |  7 +++++++
 src/mesa/state_tracker/st_extensions.c       |  4 ++++
 src/mesa/state_tracker/st_format.c           | 10 ++++++++++
 src/mesa/swrast/s_texfetch.c                 |  1 +
 src/mesa/swrast/s_texfetch_tmp.h             |  1 +
 18 files changed, 59 insertions(+), 4 deletions(-)

-- 
2.19.1



More information about the mesa-dev mailing list