Sign in
dawn
/
dawn
/
c851164aa8ce5e88998aac58f8a99689942d4e3d
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidthCoarse
/
4e4fc4.wgsl.expected.msl
blob: df00b15ecbabcd9ade056f5680014e09f32aaef2 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float4 fwidthCoarse_4e4fc4
()
{
float4 res
=
fwidth
(
float4
(
1.0f
));
return
res
;
}
fragment
void
fragment_main
(
device float4
*
tint_symbol
[[
buffer
(
0
)]])
{
*(
tint_symbol
)
=
fwidthCoarse_4e4fc4
();
return
;
}