Sign in
dawn
/
dawn
/
34a2d6574f5cac23a470da7d6496153cfacb09ed
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidth
/
b83ebb.wgsl.expected.msl
blob: 0e86301535bdcc3e6277d2bffcb252f16a1e6625 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float2 fwidth_b83ebb
()
{
float2 res
=
fwidth
(
float2
(
1.0f
));
return
res
;
}
fragment
void
fragment_main
(
device float2
*
tint_symbol
[[
buffer
(
0
)]])
{
*(
tint_symbol
)
=
fwidth_b83ebb
();
return
;
}