[Mesa-dev] [PATCH] mesa: allow EXT_texture_compression_s3tc on ES2

Marek Olšák maraeo at gmail.com
Thu Oct 18 19:42:54 UTC 2018


I think you need something like this:
https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack&id=ad774f9db1d735811a8d830ad90a2f8208aa0a7b

I also have:
rgtc:
https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack&id=c9c0ffc2d40f0119fb31bf0515f321cd877090dd
bptc:
https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack&id=111255b6f8b85119da2c5d29dc19abc422fd7a12

and no time to test them.

Marek

On Thu, Oct 18, 2018 at 11:05 AM Erik Faye-Lund <
erik.faye-lund at collabora.com> wrote:

> The extension is written against both GL 1.2 and GLES 2.0, so let's
> also enable it on GLES 2.0.
>
> Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
> ---
>  src/mesa/main/extensions_table.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions_table.h
> b/src/mesa/main/extensions_table.h
> index 09bf923bd0e..47db1583135 100644
> --- a/src/mesa/main/extensions_table.h
> +++ b/src/mesa/main/extensions_table.h
> @@ -278,7 +278,7 @@ EXT(EXT_texture_buffer                      ,
> OES_texture_buffer
>  EXT(EXT_texture_compression_dxt1            ,
> ANGLE_texture_compression_dxt          , GLL, GLC, ES1, ES2, 2004)
>  EXT(EXT_texture_compression_latc            ,
> EXT_texture_compression_latc           , GLL,  x ,  x ,  x , 2006)
>  EXT(EXT_texture_compression_rgtc            ,
> ARB_texture_compression_rgtc           , GLL, GLC,  x ,  x , 2004)
> -EXT(EXT_texture_compression_s3tc            ,
> EXT_texture_compression_s3tc           , GLL, GLC,  x ,  x , 2000)
> +EXT(EXT_texture_compression_s3tc            ,
> EXT_texture_compression_s3tc           , GLL, GLC,  x , ES2, 2000)
>  EXT(EXT_texture_cube_map                    , ARB_texture_cube_map
>            , GLL,  x ,  x ,  x , 2001)
>  EXT(EXT_texture_cube_map_array              , OES_texture_cube_map_array
>            ,  x ,  x ,  x ,  31, 2014)
>  EXT(EXT_texture_edge_clamp                  , dummy_true
>            , GLL,  x ,  x ,  x , 1997)
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181018/4e3e2fc2/attachment.html>


More information about the mesa-dev mailing list