From 6007e35857e03b5046a93d72a0c062a131abf33c Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 5 May 2026 19:33:44 +0200 Subject: [PATCH] bin/gen_release_notes: add paragraph on OpenCL support Reviewed-by: Eric Engestrom Part-of: --- bin/gen_release_notes.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py index 23848ea42ad..c92ebb23c84 100755 --- a/bin/gen_release_notes.py +++ b/bin/gen_release_notes.py @@ -40,6 +40,7 @@ import docutils.utils import docutils.parsers.rst.states as states CURRENT_GL_VERSION = '4.6' +CURRENT_CL_VERSION = '3.1' CURRENT_VK_VERSION = '1.4' TEMPLATE = Template(textwrap.dedent("""\ @@ -61,6 +62,10 @@ TEMPLATE = Template(textwrap.dedent("""\ ${gl_version} is **only** available if requested at context creation. Compatibility contexts may report a lower version depending on each driver. + Mesa ${this_version} implements the OpenCL ${cl_version} API, but the version reported by + the CL_DEVICE_VERSION, CL_DEVICE_NUMERIC_VERSION and CL_DEVICE_OPENCL_C_ALL_VERSIONS + clGetDeviceInfo queries depends on the particular driver being used. + Mesa ${this_version} implements the Vulkan ${vk_version} API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used. @@ -365,6 +370,7 @@ async def main() -> None: changes=walk_shortlog(shortlog), features=get_features(is_point_release), gl_version=CURRENT_GL_VERSION, + cl_version=CURRENT_CL_VERSION, this_version=this_version, header=header, header_underline=header_underline,