Module: Mesa Branch: main Commit: 7e031078dd72bb3a4105f6a09a7cef411bbcd689 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e031078dd72bb3a4105f6a09a7cef411bbcd689
Author: Antonio Gomes <antoniospg...@gmail.com> Date: Fri Sep 8 01:23:22 2023 -0300 rusticl: Advertise cl_khr_gl_sharing extension Reviewed-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21305> --- src/gallium/frontends/rusticl/core/device.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/frontends/rusticl/core/device.rs b/src/gallium/frontends/rusticl/core/device.rs index f66dc9ade2a..537de45f2ee 100644 --- a/src/gallium/frontends/rusticl/core/device.rs +++ b/src/gallium/frontends/rusticl/core/device.rs @@ -598,6 +598,10 @@ impl Device { add_feat(1, 0, 0, "__opencl_c_fp64"); } + if self.is_gl_sharing_supported() { + add_ext(1, 0, 0, "cl_khr_gl_sharing"); + } + if self.int64_supported() { if self.embedded { add_ext(1, 0, 0, "cles_khr_int64");