Sign in
dawn
/
dawn
/
928a7d1e937f9429bca56a014eeba7b20ccae958
/
.
/
test
/
tint
/
expressions
/
unary
/
complement
/
complement.wgsl
blob: a89c462978dc3e09c5065aa2c242d27be281bb4e [
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
;
}