rusticl: advertize cl_khr_spirv_no_integer_wrap_decoration
authorKarol Herbst <git@karolherbst.de>
Sat, 17 Jun 2023 21:15:04 +0000 (23:15 +0200)
committerKarol Herbst <git@karolherbst.de>
Sat, 17 Jun 2023 23:21:40 +0000 (01:21 +0200)
It's supported with all drivers already.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23708>

docs/features.txt
src/gallium/frontends/rusticl/core/device.rs
src/gallium/frontends/rusticl/core/platform.rs

index e50886b..dfba490 100644 (file)
@@ -919,7 +919,7 @@ Rusticl extensions that are not part of any OpenCL version:
   cl_khr_priority_hints                                 not started
   cl_khr_spirv_extended_debug_info                      not started
   cl_khr_spirv_linkonce_odr                             not started
-  cl_khr_spirv_no_integer_wrap_decoration               not started
+  cl_khr_spirv_no_integer_wrap_decoration               DONE
   cl_khr_srgb_image_writes                              not started
   cl_khr_subgroup_ballot                                not started
   cl_khr_subgroup_clustered_reduce                      not started
index d3940d5..f550822 100644 (file)
@@ -506,6 +506,7 @@ impl Device {
 
         add_spirv("SPV_KHR_float_controls");
         add_spirv("SPV_KHR_integer_dot_product");
+        add_spirv("SPV_KHR_no_integer_wrap_decoration");
 
         if self.doubles_supported() {
             add_ext(1, 0, 0, "cl_khr_fp64");
index 2e9a309..c78d1f0 100644 (file)
@@ -47,6 +47,7 @@ gen_cl_exts!([
     (1, 0, 0, "cl_khr_extended_versioning"),
     (1, 0, 0, "cl_khr_icd"),
     (1, 0, 0, "cl_khr_il_program"),
+    (1, 0, 0, "cl_khr_spirv_no_integer_wrap_decoration"),
 ]);
 
 static mut PLATFORM: Platform = Platform {