Re: [Mesa-dev] [PATCH 4/5] mesa/glformats: add desktop gl checks on _mesa_base_tex_format

2016-06-02 Thread Alejandro Piñeiro
On 01/06/16 22:07, Ian Romanick wrote: > On 05/13/2016 07:57 AM, Alejandro Piñeiro wrote: >> There are several internalformat that are not supported on gl es, so >> it should return -1 if that is the case. This is needed in order to >> get ARB_internalformat_query2 implementation deciding

Re: [Mesa-dev] [PATCH 4/5] mesa/glformats: add desktop gl checks on _mesa_base_tex_format

2016-06-01 Thread Ian Romanick
On 05/13/2016 07:57 AM, Alejandro Piñeiro wrote: > There are several internalformat that are not supported on gl es, so > it should return -1 if that is the case. This is needed in order to > get ARB_internalformat_query2 implementation deciding correctly if > a resource is supported or not on

[Mesa-dev] [PATCH 4/5] mesa/glformats: add desktop gl checks on _mesa_base_tex_format

2016-05-13 Thread Alejandro Piñeiro
There are several internalformat that are not supported on gl es, so it should return -1 if that is the case. This is needed in order to get ARB_internalformat_query2 implementation deciding correctly if a resource is supported or not on opengl es. FWIW, in some cases, _mesa_base_fbo_format has