dawn-cmake/test/expressions/unary/complement.wgsl.expected.msl

20 lines
190 B
Plaintext

#include <metal_stdlib>
using namespace metal;
int i(int x) {
return ~(x);
}
uint u(uint x) {
return ~(x);
}
int4 vi(int4 x) {
return ~(x);
}
uint4 vu(uint4 x) {
return ~(x);
}