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

2018-10-24 Thread Marek Olšák
On Wed, Oct 24, 2018 at 12:34 PM Erik Faye-Lund < erik.faye-l...@collabora.com> wrote: > On Thu, 2018-10-18 at 15:42 -0400, Marek Olšák wrote: > > I think you need something like this: > > > > https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack&id=ad774f9db1d735811a8d830ad90a2f8

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

2018-10-24 Thread Erik Faye-Lund
On Thu, 2018-10-18 at 15:42 -0400, Marek Olšák wrote: > I think you need something like this: > https://cgit.freedesktop.org/~mareko/mesa/commit/?h=amd-extension-pack&id=ad774f9db1d735811a8d830ad90a2f8208aa0a7b > Thanks, this looks correct to me. I've ported some of the piglit s3tc tests to gle

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

2018-10-22 Thread Erik Faye-Lund
On Thu, 2018-10-18 at 14:31 -0400, Ilia Mirkin wrote: > On Thu, Oct 18, 2018 at 2:26 PM Erik Faye-Lund > wrote: > > On Oct 18, 2018 18:21, Ilia Mirkin wrote: > > > > Have you verified that this works OK on GLES2? This extension > > enables > > online compression, which isn't normally available i

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

2018-10-18 Thread Marek Olšák
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

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

2018-10-18 Thread Ilia Mirkin
On Thu, Oct 18, 2018 at 2:26 PM Erik Faye-Lund wrote: > On Oct 18, 2018 18:21, Ilia Mirkin wrote: > > Have you verified that this works OK on GLES2? This extension enables > online compression, which isn't normally available in GLES, and I > wouldn't be surprised if the current mesa TexImage hand

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

2018-10-18 Thread Erik Faye-Lund
On Oct 18, 2018 18:21, Ilia Mirkin wrote:Have you verified that this works OK on GLES2? This extension enables online compression, which isn't normally available in GLES, and I wouldn't be surprised if the current mesa TexImage handlers prevent it. The way I read the extension spec, it doesn'

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

2018-10-18 Thread Ilia Mirkin
Have you verified that this works OK on GLES2? This extension enables online compression, which isn't normally available in GLES, and I wouldn't be surprised if the current mesa TexImage handlers prevent it. -ilia On Thu, Oct 18, 2018 at 11:05 AM Erik Faye-Lund wrote: > > The extension is writt

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

2018-10-18 Thread Erik Faye-Lund
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 --- 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