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