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