Sign in
dawn
/
dawn
/
27049a7351b60a5b49fe3142ac7b99ad604e32d6
/
.
/
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
;
}