Sign in
dawn
/
dawn
/
ad6d0d3c18fb19b4493d824d612795f3efc71a0f
/
.
/
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
;
}