rusticl: advertize cl_khr_spirv_no_integer_wrap_decoration

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>
This commit is contained in:
Karol Herbst 2023-06-17 23:15:04 +02:00
parent 9985247e71
commit d9eedda917
3 changed files with 3 additions and 1 deletions

View 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

View 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");

View 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 {