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