Sign in
dawn
/
dawn
/
09c49b34d9d981abd3baa567c3633bfa4e667822
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_workgroup.wgsl
blob: eb7dae9489b8fb7354203b237740e2fbed1c8d98 [
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
;
}