Module: Mesa Branch: master Commit: 5af71fb5ac4dafed3ecc4b849922208cab76070f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5af71fb5ac4dafed3ecc4b849922208cab76070f
Author: Ilia Mirkin <[email protected]> Date: Wed Dec 3 03:29:38 2014 -0500 freedreno/a3xx: add s3tc texture format support Signed-off-by: Ilia Mirkin <[email protected]> --- docs/relnotes/11.0.0.html | 1 + src/gallium/drivers/freedreno/a3xx/fd3_format.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/relnotes/11.0.0.html b/docs/relnotes/11.0.0.html index 75967ac..447e35e 100644 --- a/docs/relnotes/11.0.0.html +++ b/docs/relnotes/11.0.0.html @@ -62,6 +62,7 @@ Note: some of the new features are only available with certain drivers. <li>GL_ARB_vertex_attrib_64bit on llvmpipe, radeonsi</li> <li>GL_ARB_viewport_array on radeonsi</li> <li>GL_EXT_depth_bounds_test on radeonsi, nv30, nv50, nvc0</li> +<li>GL_EXT_texture_compression_s3tc on freedreno</li> <li>GL_NV_read_depth (GLES) on all drivers</li> <li>GL_NV_read_depth_stencil (GLES) on all drivers</li> <li>GL_NV_read_stencil (GLES) on all drivers</li> diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index 6fc639c..04cb9b9 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c @@ -262,6 +262,15 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { _T(ETC2_R11_SNORM, ETC2_R11_SNORM, NONE, WZYX), _T(ETC2_RG11_UNORM, ETC2_RG11_UNORM, NONE, WZYX), _T(ETC2_RG11_SNORM, ETC2_RG11_SNORM, NONE, WZYX), + + _T(DXT1_RGB, DXT1, NONE, WZYX), + _T(DXT1_SRGB, DXT1, NONE, WZYX), + _T(DXT1_RGBA, DXT1, NONE, WZYX), + _T(DXT1_SRGBA, DXT1, NONE, WZYX), + _T(DXT3_RGBA, DXT3, NONE, WZYX), + _T(DXT3_SRGBA, DXT3, NONE, WZYX), + _T(DXT5_RGBA, DXT5, NONE, WZYX), + _T(DXT5_SRGBA, DXT5, NONE, WZYX), }; enum a3xx_vtx_fmt _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
