Re: [Mesa-dev] [PATCH 1/5] i965/formatquery: remove INTERNALFORMAT_PREFERRED implementation

2016-06-01 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 05/13/2016 07:57 AM, Alejandro Piñeiro wrote: > Right now the implementation only checks if the internalformat is > supported or not. But that implementation is wrong, returning > unsupported for some internalformats.

[Mesa-dev] [PATCH 1/5] i965/formatquery: remove INTERNALFORMAT_PREFERRED implementation

2016-05-13 Thread Alejandro Piñeiro
Right now the implementation only checks if the internalformat is supported or not. But that implementation is wrong, returning unsupported for some internalformats. Additionally, checking if the internalformat is supported or not is already done at mesa/main before calling the driver hook, so