Sign in
dawn
/
dawn
/
5975d5710055728034f8bd6902f3e69ba45460cf
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_workgroup.wgsl
blob: e6ba479f0c675516ae4b2d90aa705af2e20b78cf [
file
] [
log
] [
blame
]
var
<workgroup>
i
:
i32
;
@compute
@workgroup_size
(
1
)
fn main
()
{
i
=
123
;
let
p
:
ptr
<
workgroup
,
i32
>
=
&
i
;
let
u
:
i32
=
*
p
+
1
;
}