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