Skip to content

Commit

Permalink
spirv: ziggify and remove unknown spirv features
Browse files Browse the repository at this point in the history
`OpCapability` and `OpExtension` now can also be emitted from inline assembly
  • Loading branch information
alichraghi committed Feb 14, 2025
1 parent e047830 commit 051feba
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 3,214 deletions.
2 changes: 1 addition & 1 deletion lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ pub const Cpu = struct {
pub const Set = struct {
ints: [usize_count]usize,

pub const needed_bit_count = 398;
pub const needed_bit_count = 288;
pub const byte_count = (needed_bit_count + 7) / 8;
pub const usize_count = (byte_count + (@sizeOf(usize) - 1)) / @sizeOf(usize);
pub const Index = std.math.Log2Int(std.meta.Int(.unsigned, usize_count * @bitSizeOf(usize)));
Expand Down
Loading

0 comments on commit 051feba

Please sign in to comment.