Sign in
dawn
/
dawn
/
ffe7978dbf499b7bc4f9b819912cbc5ae676085b
/
.
/
test
/
ptr_ref
/
access
/
vector.wgsl
blob: 7ace5a3aa12ef95464492bed9d256eff389e804e [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
var
v
:
vec3
<f32>
=
vec3
<f32>
(
1.
,
2.
,
3.
);
let
f
:
ptr
<
function
,
f32
>
=
&
v
.
y
;
*
f
=
5.0
;
}