Sign in
◑
Theme
dawn
/
dawn
/
refs/heads/chromium/6964
/
.
/
test
/
tint
/
builtins
/
smoothstep.wgsl.expected.msl
blob: c66e2eac32845559f26bae396f4f3dbcbb9cfc28 [
file
] [
edit
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
tint_symbol
()
{
float
const
low
=
1.0f
;
float
const
high
=
0.0f
;
float
const
x_val
=
0.5f
;
float
const
res
=
smoothstep
(
low
,
high
,
x_val
);
return
;
}