mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
src/codegen/spirv/CodeGen.zig: add missing unary Ops
This commit is contained in:
parent
19c9062840
commit
868413007f
@ -2176,6 +2176,14 @@ const UnaryOp = enum {
|
||||
.ceil => .Ceil,
|
||||
.trunc => .Trunc,
|
||||
.round => .Round,
|
||||
.sin => .Sin,
|
||||
.cos => .Cos,
|
||||
.tan => .Tan,
|
||||
.sqrt => .Sqrt,
|
||||
.exp => .Exp,
|
||||
.exp2 => .Exp2,
|
||||
.log => .Log,
|
||||
.log2 => .Log2,
|
||||
else => return null,
|
||||
})),
|
||||
else => unreachable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user