Mesa (master): clover: access 3.0 and deprecated 2.2 API

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 6 07:48:04 UTC 2020


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Nov  6 13:55:53 2020 +1000

clover: access 3.0 and deprecated 2.2 API

Adds the api defines to open up deprecaated 2.2 and new 3.0 APIs.

Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7468>

---

 src/gallium/frontends/clover/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/frontends/clover/meson.build b/src/gallium/frontends/clover/meson.build
index ad5f152416d..c64b217500b 100644
--- a/src/gallium/frontends/clover/meson.build
+++ b/src/gallium/frontends/clover/meson.build
@@ -20,12 +20,13 @@
 
 clover_cpp_args = []
 clover_opencl_cpp_args = [
-  '-DCL_TARGET_OPENCL_VERSION=220',
+  '-DCL_TARGET_OPENCL_VERSION=300',
   '-DCL_USE_DEPRECATED_OPENCL_1_0_APIS',
   '-DCL_USE_DEPRECATED_OPENCL_1_1_APIS',
   '-DCL_USE_DEPRECATED_OPENCL_1_2_APIS',
   '-DCL_USE_DEPRECATED_OPENCL_2_0_APIS',
   '-DCL_USE_DEPRECATED_OPENCL_2_1_APIS',
+  '-DCL_USE_DEPRECATED_OPENCL_2_2_APIS',
   '-DLIBCLC_INCLUDEDIR="@0@/"'.format(dep_clc.get_variable(pkgconfig : 'includedir')),
   '-DLIBCLC_LIBEXECDIR="@0@/"'.format(dep_clc.get_variable(pkgconfig : 'libexecdir'))
 ]



More information about the mesa-commit mailing list