Sign in
dawn
/
dawn
/
e7099d4f3bb22e23e975099fb1d1314f76cd6227
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_workgroup.wgsl
blob: 269caa525997ba543efa9ab7816276687f4fc1c0 [
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
;
}