Sign in
dawn
/
dawn
/
c0f1ed4fe729b822a7697058a41f8042c4145e59
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_workgroup.wgsl.expected.wgsl
blob: cf84d585cccef0f4c946f081f917223a5dcb03ec [
file
] [
log
] [
blame
]
var
<workgroup>
i
:
i32
;
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
i
=
123
;
let
p
:
ptr
<
workgroup
,
i32
>
=
&(
i
);
let
use
:
i32
=
(*(
p
)
+
1
);
}