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