Re: [Mesa-dev] [PATCH 2/2] st/dri: Don't require a dri_format for image creation.

2018-07-18 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Wed, Jul 18, 2018 at 2:02 PM, Eric Anholt wrote: > Nothing in EGL_KHR_gl_image.txt seems to let us deny creation based on > formats, and doing so causes many failures in > dEQP-EGL.functional.image.api.* > > The NONE value we were protecting

[Mesa-dev] [PATCH 2/2] st/dri: Don't require a dri_format for image creation.

2018-07-18 Thread Eric Anholt
Nothing in EGL_KHR_gl_image.txt seems to let us deny creation based on formats, and doing so causes many failures in dEQP-EGL.functional.image.api.* The NONE value we were protecting from only gets looked at in the __DRI_IMAGE_ATTRIB_FORMAT and __DRI_IMAGE_ATTRIB_FOURCC queries, which are used