Sign in
dawn
/
tint.git
/
a240c480fa6f3db3e4f115670a7723024b5cd505
/
.
/
test
/
ptr_ref
/
access
/
vector.wgsl.expected.msl
blob: 88a1b99c98662763b9a47de9c534b24a544d33a3 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
tint_symbol
()
{
float3 v
=
float3
(
1.0f
,
2.0f
,
3.0f
);
float
*
const
f
=
&(
v
.
y
);
*(
f
)
=
5.0f
;
return
;
}