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