Sign in
dawn
/
tint
/
def9d976093fda87a9826a128f19f91bc4bbbcc4
/
.
/
test
/
ptr_ref
/
access
/
vector.wgsl.expected.wgsl
blob: 39d3d90d58055cd1fe28f91627a561d5314cd7b6 [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
var
v
:
vec3
<f32>
=
vec3
<f32>
(
1.0
,
2.0
,
3.0
);
let
f
:
ptr
<
function
,
f32
>
=
&(
v
.
y
);
*(
f
)
=
5.0
;
}