Sign in
dawn
/
dawn
/
5f41adadd6bcde1441e4167b4d016a068d594f7b
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
sign
/
3a39ac.wgsl.expected.wgsl
blob: 6a2ece2f50a92672bada38aaec5cd9396e659a3f [
file
] [
log
] [
blame
]
fn sign_3a39ac
()
{
var
res
=
sign
(
1
);
}
@vertex
fn vertex_main
()
->
@builtin
(
position
)
vec4
<f32>
{
sign_3a39ac
();
return
vec4
<f32>
();
}
@fragment
fn fragment_main
()
{
sign_3a39ac
();
}
@compute
@workgroup_size
(
1
)
fn compute_main
()
{
sign_3a39ac
();
}