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