gallium: Add new PIPE_CAP_CL_GL_SHARING
We have a situation where some drivers have all the required features, but they are not working with gl_sharing, so we end up advertising it wrongly. Add this cap to ensure this driver was tested to work with cl_khr_gl_sharing. Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26071>
This commit is contained in:
@@ -564,6 +564,8 @@ The integer capabilities:
|
||||
1. ``DRM_PRIME_CAP_IMPORT``: resource_from_handle is supported
|
||||
2. ``DRM_PRIME_CAP_EXPORT``: resource_get_handle is supported
|
||||
|
||||
* ``PIPE_CAP_CL_GL_SHARING``: True if driver supports everything required by a frontend implementing the CL extension, and
|
||||
also supports importing/exporting all of pipe_texture_target via dma buffers.
|
||||
* ``PIPE_CAP_PREFER_COMPUTE_FOR_MULTIMEDIA``: Whether VDPAU, VAAPI, and
|
||||
OpenMAX should use a compute-based blit instead of pipe_context::blit and compute pipeline for compositing images.
|
||||
* ``PIPE_CAP_FRAGMENT_SHADER_INTERLOCK``: True if fragment shader interlock
|
||||
|
Reference in New Issue
Block a user