From 7e031078dd72bb3a4105f6a09a7cef411bbcd689 Mon Sep 17 00:00:00 2001 From: Antonio Gomes Date: Fri, 8 Sep 2023 01:23:22 -0300 Subject: [PATCH] rusticl: Advertise cl_khr_gl_sharing extension Reviewed-by: Karol Herbst Part-of: --- 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");