Sign in
dawn
/
tint
/
4beeaea9daf21186fabdde3fa7c24df0f1328309
/
.
/
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
);
}