summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Moreau <dev@pmoreau.org>2020-11-12 21:39:10 +0100
committerPierre Moreau <dev@pmoreau.org>2021-01-01 21:56:59 +0100
commit8bb001313bf02ad1254a8db197702dc3eb778a30 (patch)
tree0b59a9c46dbdd6cecdd4d645fcaf9632418fa626
parent44b8e8b98d98757bbe75afb373252328489b5685 (diff)
clover: Expose cl_khr_extended_versioning
With the extension specification merged in and the last query now supported, the extension can be advertised. v2: Fix indentation (Dave Airlie) Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Pierre Moreau <dev@pmoreau.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2078>
-rw-r--r--src/gallium/frontends/clover/core/device.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/frontends/clover/core/device.cpp b/src/gallium/frontends/clover/core/device.cpp
index f2b7e65d13d..fd683eb1953 100644
--- a/src/gallium/frontends/clover/core/device.cpp
+++ b/src/gallium/frontends/clover/core/device.cpp
@@ -370,6 +370,7 @@ device::supported_extensions() const {
if (!clover::spirv::supported_versions().empty() &&
supports_ir(PIPE_SHADER_IR_NIR_SERIALIZED))
vec.push_back( cl_name_version{ CL_MAKE_VERSION(1, 0, 0), "cl_khr_il_program" } );
+ vec.push_back( cl_name_version{ CL_MAKE_VERSION(1, 0, 0), "cl_khr_extended_versioning" } );
return vec;
}