Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidthCoarse
/
159c8a.wgsl.expected.msl
blob: e68c02da7facf02a026f9486d2cead567de489b2 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float
fwidthCoarse_159c8a
()
{
float
res
=
fwidth
(
1.0f
);
return
res
;
}
fragment
void
fragment_main
(
device
float
*
tint_symbol
[[
buffer
(
0
)]])
{
*(
tint_symbol
)
=
fwidthCoarse_159c8a
();
return
;
}