Sign in
dawn
/
tint
/
bf39c8fb1961ec0c31b167bb6798b4b9de9911b5
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_storage.wgsl.expected.wgsl
blob: b88f09f6ea3c913694935758b32f8c5223011fbc [
file
] [
log
] [
blame
]
[[
block
]]
struct
S
{
a
:
i32
;
};
[[
group
(
0
),
binding
(
0
)]]
var
<
storage
,
read_write
>
v
:
S
;
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
let
p
:
ptr
<
storage
,
i32
,
read_write
>
=
&(
v
.
a
);
let
use
:
i32
=
(*(
p
)
+
1
);
}