Sign in
dawn
/
dawn
/
6f3737ba25507dfa69e13765556c6ad9fdce89cb
/
.
/
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
;
}