diff options
Diffstat (limited to 'src/gallium/frontends/rusticl/core/platform.rs')
-rw-r--r-- | src/gallium/frontends/rusticl/core/platform.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/frontends/rusticl/core/platform.rs b/src/gallium/frontends/rusticl/core/platform.rs index 152197e9334..666c475a9bf 100644 --- a/src/gallium/frontends/rusticl/core/platform.rs +++ b/src/gallium/frontends/rusticl/core/platform.rs @@ -26,11 +26,12 @@ pub struct PlatformFeatures { static PLATFORM_ENV_ONCE: Once = Once::new(); static PLATFORM_ONCE: Once = Once::new(); -pub static PLATFORM_EXTENSIONS: [cl_name_version; 2] = [ +pub static PLATFORM_EXTENSIONS: [cl_name_version; 3] = [ + mk_cl_version_ext(1, 0, 0, "cl_khr_byte_addressable_store"), mk_cl_version_ext(1, 0, 0, "cl_khr_icd"), mk_cl_version_ext(1, 0, 0, "cl_khr_il_program"), ]; -pub static PLATFORM_EXTENSION_STR: &str = "cl_khr_icd cl_khr_il_program"; +pub static PLATFORM_EXTENSION_STR: &str = "cl_khr_byte_addressable_store cl_khr_icd cl_khr_il_program"; static mut PLATFORM: Platform = Platform { dispatch: &DISPATCH, |