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