Sign in
dawn
/
tint
/
refs/heads/chromium/4848
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_workgroup.wgsl
blob: 269caa525997ba543efa9ab7816276687f4fc1c0 [
file
] [
log
] [
blame
] [
edit
]
var
<workgroup>
i
:
i32
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
i
=
123
;
let
p
:
ptr
<
workgroup
,
i32
>
=
&
i
;
let
use
:
i32
=
*
p
+
1
;
}