Mesa (master): clover: Expose cl_khr_extended_versioning

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 1 22:28:34 UTC 2021


Module: Mesa
Branch: master
Commit: 8bb001313bf02ad1254a8db197702dc3eb778a30
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bb001313bf02ad1254a8db197702dc3eb778a30

Author: Pierre Moreau <dev at pmoreau.org>
Date:   Thu Nov 12 21:39:10 2020 +0100

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 at redhat.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Signed-off-by: Pierre Moreau <dev at pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2078>

---

 src/gallium/frontends/clover/core/device.cpp | 1 +
 1 file changed, 1 insertion(+)

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;
 }
 



More information about the mesa-commit mailing list