Sign in
dawn
/
dawn
/
899126f03697536b4d53c52c2d8a4eb4bbddf647
/
.
/
test
/
tint
/
expressions
/
type_conv
/
scalar
/
function
/
f16-bool.wgsl.expected.msl
blob: 4d003562bd2ea015f275d9ceadef621c5ee13846 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
half m
()
{
thread half tint_symbol_1
=
0.0h
;
tint_symbol_1
=
1.0h
;
return
half
(
tint_symbol_1
);
}
void
f
()
{
half
const
tint_symbol
=
m
();
bool
v
=
bool
(
tint_symbol
);
}