Sign in
dawn
/
tint
/
37a666d91c70115b767526bb30e143d0dfeef323
/
.
/
test
/
expressions
/
unary
/
complement
/
complement.wgsl.expected.msl
blob: 6767a971efe596a434d1c5a4c3a16c74d8e184b0 [
file
] [
log
] [
blame
]
#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
);
}