Sign in
dawn
/
dawn
/
59a4bd744aa0c3035832d652cf3391b8b121c398
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidth
/
df38ef.wgsl.expected.dxc.hlsl
blob: 6595b7250285fdccd9dbbdd91352b83ad4abaef6 [
file
] [
log
] [
blame
]
RWByteAddressBuffer
prevent_dce
:
register
(
u0
,
space2
);
void
fwidth_df38ef
()
{
float
res
=
fwidth
(
1.0f
);
prevent_dce
.
Store
(
0u
,
asuint
(
res
));
}
void
fragment_main
()
{
fwidth_df38ef
();
return
;
}