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