mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
rusticl: support SPIR-V 1.5 and 1.6
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33327>
This commit is contained in:
parent
2f4931353f
commit
bb6d371c0e
1 changed files with 5 additions and 2 deletions
|
|
@ -16,13 +16,16 @@ use std::ffi::CStr;
|
|||
use std::mem::size_of;
|
||||
use std::ptr;
|
||||
|
||||
const SPIRV_SUPPORT_STRING: &CStr = c"SPIR-V_1.0 SPIR-V_1.1 SPIR-V_1.2 SPIR-V_1.3 SPIR-V_1.4";
|
||||
const SPIRV_SUPPORT: [cl_name_version; 5] = [
|
||||
const SPIRV_SUPPORT_STRING: &CStr =
|
||||
c"SPIR-V_1.0 SPIR-V_1.1 SPIR-V_1.2 SPIR-V_1.3 SPIR-V_1.4 SPIR-V_1.5 SPIR-V_1.6";
|
||||
const SPIRV_SUPPORT: [cl_name_version; 7] = [
|
||||
mk_cl_version_ext(1, 0, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 1, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 2, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 3, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 4, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 5, 0, "SPIR-V"),
|
||||
mk_cl_version_ext(1, 6, 0, "SPIR-V"),
|
||||
];
|
||||
type ClDevIdpAccelProps = cl_device_integer_dot_product_acceleration_properties_khr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue