Re: [Mesa-dev] [PATCH 1/8] mesa: handle OES_texture_half_float formats in _mesa_base_tex_format()

2017-10-23 Thread Tapani Pälli
Maybe combine common items with ARB_texture_float check below? You could introduce something like: if (ctx->Extensions.ARB_texture_float || ctx->Extensions.OES_texture_half_float) { ... } if (ctx->Extensions.ARB_texture_float || ctx->Extensions.OES_texture_float) { ... } On 10/20/2017

Re: [Mesa-dev] [PATCH 1/8] mesa: handle OES_texture_half_float formats in _mesa_base_tex_format()

2017-10-21 Thread Wladimir J. van der Laan
On Fri, Oct 20, 2017 at 10:21:21PM +0200, Christian Gmeiner wrote: > Signed-off-by: Christian Gmeiner > --- > src/mesa/main/glformats.c | 19 +++ > 1 file changed, 19 insertions(+) Reviewed-by: Wladimir J. van der Laan (as far as

[Mesa-dev] [PATCH 1/8] mesa: handle OES_texture_half_float formats in _mesa_base_tex_format()

2017-10-20 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner --- src/mesa/main/glformats.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 1e797c24c2..78299aebae 100644 --- a/src/mesa/main/glformats.c +++