On 09/04/2012 04:53 AM, Oliver McFadden wrote:
> diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c 
> b/src/mesa/drivers/dri/intel/intel_extensions.c
> index 885e8a4..b8cf933 100755
> --- a/src/mesa/drivers/dri/intel/intel_extensions.c
> +++ b/src/mesa/drivers/dri/intel/intel_extensions.c
> @@ -184,6 +184,11 @@ intelInitExtensions(struct gl_context *ctx)
>     }
>  
>     if (intel->ctx.Mesa_DXTn) {
> +      /* Does not require compression, but still needs the library for
> +       * decompression! */
> +      ctx->Extensions.ANGLE_texture_compression_dxt = true;
> +
> +      /* Requires both compression and decompression functions. */
>        ctx->Extensions.EXT_texture_compression_s3tc = true;
>        ctx->Extensions.S3_s3tc = true;
>     }

Actually, decompression doesn't require the library.  We just pass
S3TC/DXTn texture data directly to the hardware and let it do all the
work.  We only need libtxc_dxtn for online compression.

So you can just turn it on :)
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to