Sign in
dawn
/
dawn
/
4a0a7099371b773d23677fb0b327452ee5c412f9
/
.
/
test
/
tint
/
builtins
/
smoothstep
/
smoothstep.wgsl
blob: 566ac1734ffcc8b504880051d8ef707e2ff07665 [
file
] [
log
] [
blame
]
// Verifies that smoothstep with (effective) constant
// values of low > high compiles on all backends
@compute
@workgroup_size
(
1
)
fn main
()
{
let
low
=
1.0
;
let
high
=
0.0
;
let
x_val
=
0.5
;
let
res
=
smoothstep
(
low
,
high
,
x_val
);
}