Skip to content

Commit 8684130

Browse files
committed
src/codegen/spirv/CodeGen.zig: add missing unary Ops
1 parent 19c9062 commit 8684130

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/codegen/spirv/CodeGen.zig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,14 @@ const UnaryOp = enum {
21762176
.ceil => .Ceil,
21772177
.trunc => .Trunc,
21782178
.round => .Round,
2179+
.sin => .Sin,
2180+
.cos => .Cos,
2181+
.tan => .Tan,
2182+
.sqrt => .Sqrt,
2183+
.exp => .Exp,
2184+
.exp2 => .Exp2,
2185+
.log => .Log,
2186+
.log2 => .Log2,
21792187
else => return null,
21802188
})),
21812189
else => unreachable,

0 commit comments

Comments
 (0)