Re: [Piglit] [PATCH v2] EGL_EXT_image_dma_buf_import: fix error check with unknown drm format

2018-11-14 Thread Eric Anholt
Lionel Landwerlin writes: > According to the EGL_EXT_image_dma_buf_import spec, creating an EGL > image with a DRM format not supported should yield the BAD_MATCH > error : > > " >* If is EGL_LINUX_DMA_BUF_EXT, and the > EGL_LINUX_DRM_FOURCC_EXT > attribute is set to a format n

[Piglit] [PATCH v2] EGL_EXT_image_dma_buf_import: fix error check with unknown drm format

2018-11-14 Thread Lionel Landwerlin
According to the EGL_EXT_image_dma_buf_import spec, creating an EGL image with a DRM format not supported should yield the BAD_MATCH error : " * If is EGL_LINUX_DMA_BUF_EXT, and the EGL_LINUX_DRM_FOURCC_EXT attribute is set to a format not supported by the EGL, EGL_BAD_MATCH