Sign in
dawn
/
tint
/
520bccf8d8bac1d51ecb2391d06ec2c1f31a9613
/
.
/
test
/
expressions
/
unary
/
negate
/
negate.wgsl
blob: d54631f69382e872a5399bf8199f2e7ed373ae67 [
file
] [
log
] [
blame
]
fn i
(
x
:
i32
)
->
i32
{
return
-
x
;
}
fn vi
(
x
:
vec4
<i32>
)
->
vec4
<i32>
{
return
-
x
;
}