Sign in
dawn
/
dawn
/
1c4ff691fdaeb3165cc0c044f56586daf0f5389f
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidth
/
b83ebb.wgsl.expected.wgsl
blob: e5ae3cf93d90f850c2e0f935053d86dce266462c [
file
] [
log
] [
blame
]
fn fwidth_b83ebb
()
->
vec2
<f32>
{
var
res
:
vec2
<f32>
=
fwidth
(
vec2
<f32>
(
1.0f
));
return
res
;
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
prevent_dce
:
vec2
<f32>
;
@fragment
fn fragment_main
()
{
prevent_dce
=
fwidth_b83ebb
();
}