Sign in
dawn
/
dawn
/
d7d8b80c8131bb0707f00c76f1d5efdbb7a7ea92
/
.
/
test
/
tint
/
expressions
/
unary
/
complement
/
complement.wgsl.expected.wgsl
blob: a1c6941c9bf465182d3b4151a71d5680f32fbf75 [
file
] [
log
] [
blame
]
fn i
(
x
:
i32
)
->
i32
{
return
~(
x
);
}
fn u
(
x
:
u32
)
->
u32
{
return
~(
x
);
}
fn vi
(
x
:
vec4
<i32>
)
->
vec4
<i32>
{
return
~(
x
);
}
fn vu
(
x
:
vec4
<u32>
)
->
vec4
<u32>
{
return
~(
x
);
}