Dear all, this series adds support for the GLES texture format to mesa/core, Gallium, and some Gallium drivers.
For dri/swrast and Gallium/svga format function tables needed to be added to make mesa compile, but dri/swrast is GLES 2.0 only, so ít doesn't support the extension per se, and svga was not tested at all. As I pointed out in an earlier e-mail[1], I have also a WIP patch to get this suppport added to Intel/i965, but it doesn't pass the relatex dEQP tests. The series already received some comments from Emil on gitlab that I kept in the patches. Many thanks for any reviews, Gert [1] https://lists.freedesktop.org/archives/mesa-dev/2018-October/207735.html Gert Wollny (3): mesa/core: Add definitions and translations for EXT_texture_sRGB_R8 mesa/st: Add Gallium 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 ++- .../drivers/svga/include/svga3d_devcaps.h | 1 + .../drivers/svga/include/svga3d_surfacedefs.h | 5 +++++ src/gallium/drivers/svga/include/svga3d_types.h | 2 +- src/gallium/drivers/svga/svga_format.c | 7 +++++++ 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 + 21 files changed, 72 insertions(+), 5 deletions(-) -- 2.19.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev