Skip to content
  • Emma Anholt's avatar
    st/dri: Don't require a dri_format for image creation. · 945524ba
    Emma Anholt authored
    
    
    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 from wayland and gbm (which throw an error cleanly on unknown format)
    and DMABUF export.
    
    Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
    945524ba