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