From: Karol Herbst Date: Sat, 17 Jun 2023 21:15:04 +0000 (+0200) Subject: rusticl: advertize cl_khr_spirv_no_integer_wrap_decoration X-Git-Tag: upstream/23.3.3~6867 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9eedda917c7eef33ebbc6aa5956e1bd5d0f5b06;p=platform%2Fupstream%2Fmesa.git rusticl: advertize cl_khr_spirv_no_integer_wrap_decoration It's supported with all drivers already. Signed-off-by: Karol Herbst Reviewed-by: Nora Allen Part-of: --- diff --git a/docs/features.txt b/docs/features.txt index e50886b..dfba490 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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 diff --git a/src/gallium/frontends/rusticl/core/device.rs b/src/gallium/frontends/rusticl/core/device.rs index d3940d5..f550822 100644 --- a/src/gallium/frontends/rusticl/core/device.rs +++ b/src/gallium/frontends/rusticl/core/device.rs @@ -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"); diff --git a/src/gallium/frontends/rusticl/core/platform.rs b/src/gallium/frontends/rusticl/core/platform.rs index 2e9a309..c78d1f0 100644 --- a/src/gallium/frontends/rusticl/core/platform.rs +++ b/src/gallium/frontends/rusticl/core/platform.rs @@ -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 {