Sign in
dawn
/
dawn
/
68439bfe9ab50197f3727dfc0bdd878be609eefc
/
.
/
test
/
tint
/
expressions
/
type_conv
/
scalar
/
var
/
f16-bool.wgsl.expected.msl
blob: aceab0a23ab25ae00aa6ee1e794452d150710a6b [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_private_vars_struct
{
half u
;
};
void
f
(
thread tint_private_vars_struct
*
const
tint_private_vars
)
{
bool
const
v
=
bool
((*(
tint_private_vars
)).
u
);
}