VOOZH about

URL: https://lists.freedesktop.org/archives/mesa-dev/2015-May/084639.html

⇱ [Mesa-dev] [RFC 00/10] Enable support for 2D ASTC HDR and LDR formats


[Mesa-dev] [RFC 00/10] Enable support for 2D ASTC HDR and LDR formats

Nanley Chery nanleychery at gmail.com
Tue May 19 17:48:08 PDT 2015
From: Nanley Chery <nanley.g.chery at intel.com>

This patch series adds support for the KHR_texture_compression_astc_{ldr,hdr}
extensions. The last two commits enable support for Skylake systems.

Some rendering issues were encountered during testing, so there is some more
work to be done on this feature. The Piglit tests for this extension can be 
found here: cgit.freedesktop.org/~nchery/piglit

Nanley Chery (10):
 mesa/formats: define the 2D ASTC formats
 glapi: add support for KHR_texture_compression_astc_ldr
 mesa: disable online compression for ASTC formats
 mesa: add ASTC extensions to the extensions table
 mesa/glformats: recognize ASTC formats as compressed
 mesa/texcompress: enable translation between MESA and GL ASTC formats
 mesa/teximage: return the base internal format of the ASTC formats
 mesa/formats: store whether or not a format is sRGB in gl_format_info
 i965/surface_formats: add support for 2D ASTC surface formats
 i965: enable ASTC support for Skylake

 .../glapi/gen/KHR_texture_compression_astc.xml | 40 ++++++
 src/mapi/glapi/gen/Makefile.am | 1 +
 src/mapi/glapi/gen/gl_API.xml | 2 +-
 src/mesa/drivers/dri/i965/brw_defines.h | 36 +++++
 src/mesa/drivers/dri/i965/brw_surface_formats.c | 67 ++++++++-
 src/mesa/drivers/dri/i965/intel_extensions.c | 6 +
 src/mesa/main/extensions.c | 3 +
 src/mesa/main/format_info.py | 5 +
 src/mesa/main/formats.c | 159 +++++++++++++++++----
 src/mesa/main/formats.csv | 31 ++++
 src/mesa/main/formats.h | 30 ++++
 src/mesa/main/glformats.c | 29 ++++
 src/mesa/main/mtypes.h | 3 +
 src/mesa/main/texcompress.c | 136 ++++++++++++++++++
 src/mesa/main/teximage.c | 64 +++++++++
 src/mesa/swrast/s_texfetch.c | 32 ++++-
 16 files changed, 616 insertions(+), 28 deletions(-)
 create mode 100644 src/mapi/glapi/gen/KHR_texture_compression_astc.xml

-- 
2.4.1



More information about the mesa-dev mailing list