[Mesa-stable] [Mesa-dev] [PATCH 2/2] mesa: Never advertise _S3TC compressed formats
Anuj Phogat
anuj.phogat at gmail.com
Mon Aug 19 17:09:44 PDT 2013
On Mon, Aug 19, 2013 at 4:38 PM, Ian Romanick <idr at freedesktop.org> wrote:
>
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> The NVIDIA driver doesn't expose them, and piglit's
> arb_texture_compression-invalid-formats expects them to not be there.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: "9.2" <mesa-stable at lists.freedesktop.org>
> ---
> src/mesa/main/texcompress.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
> index 334ea40..e71d0c4 100644
> --- a/src/mesa/main/texcompress.c
> +++ b/src/mesa/main/texcompress.c
> @@ -264,18 +264,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats)
> n += 3;
> }
> }
> - if (_mesa_is_desktop_gl(ctx)
> - && ctx->Extensions.ANGLE_texture_compression_dxt) {
> - if (formats) {
> - formats[n++] = GL_RGB_S3TC;
> - formats[n++] = GL_RGB4_S3TC;
> - formats[n++] = GL_RGBA_S3TC;
> - formats[n++] = GL_RGBA4_S3TC;
> - }
> - else {
> - n += 4;
> - }
> - }
>
> /* The GL_OES_compressed_ETC1_RGB8_texture spec says:
> *
> --
> 1.8.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Both patches are:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the mesa-stable
mailing list