Sign in
dawn
/
dawn
/
0f74a3af4075b1f4eb2acf0cc0578e220d1e3fa7
/
.
/
test
/
tint
/
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
);
}