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