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