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