Re: [Mesa-dev] [PATCH 2/3] mesa: restrict formats being supported by target type for formatquery

2018-01-27 Thread Alejandro PiƱeiro
On 27/01/18 01:59, srol...@vmware.com wrote: > From: Roland Scheidegger > > The code just considered all formats as being supported if they were either > a valid fbo or texture format. > This was quite awkward since then the query would return "supported" for > e.g. GL_RGB9E5

[Mesa-dev] [PATCH 2/3] mesa: restrict formats being supported by target type for formatquery

2018-01-26 Thread sroland
From: Roland Scheidegger The code just considered all formats as being supported if they were either a valid fbo or texture format. This was quite awkward since then the query would return "supported" for e.g. GL_RGB9E5 or compressed formats and target RENDERBUFFER (albeit