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