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