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