Sign in
dawn
/
tint
/
3530c6bf0641a95cc4bf8d43e54c7a484da8536d
/
.
/
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
);
}