mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 10:45:48 +08:00
update_cpu_features: omit matrix spirv feature
This commit is contained in:
2 files changed
+1
-8
No files matched your search
@@ -88,7 +88,6 @@ pub const Feature = enum {
|
||||
interpolation_function,
|
||||
literal_sampler,
|
||||
long_vector_ext,
|
||||
matrix,
|
||||
mesh_shading_ext,
|
||||
min_lod,
|
||||
multi_view,
|
||||
@@ -872,13 +871,6 @@ pub const all_features = blk: {
|
||||
.v1_0,
|
||||
}),
|
||||
};
|
||||
result[@backingInt(Feature.matrix)] = .{
|
||||
.llvm_name = null,
|
||||
.description = "Enable matrix capability",
|
||||
.dependencies = featureSet(&[_]Feature{
|
||||
.v1_0,
|
||||
}),
|
||||
};
|
||||
result[@backingInt(Feature.mesh_shading_ext)] = .{
|
||||
.llvm_name = null,
|
||||
.description = "Enable mesh_shading_ext capability",
|
||||
|
||||
@@ -64,6 +64,7 @@ const spirv_omitted_capabilities = [_][]const u8{
|
||||
"shader", // implied by Vulkan/OpenGL targets
|
||||
"kernel", // implied by OpenCL/AMDHSA targets
|
||||
"addresses", // implied by OpenCL/AMDHSA targets
|
||||
"matrix", // implied by shader
|
||||
"physical_storage_buffer_addresses", // implied by spirv64-vulkan
|
||||
"linkage", // automatically emitted when externs need linkage decorations
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user