Sign in
dawn
/
dawn
/
efceb835366b54fac70ea8dce778881601d4eae4
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_uniform.wgsl.expected.wgsl
blob: d1a45b20da50e9757364b8e150e0d777ff5d97ce [
file
] [
log
] [
blame
]
[[
block
]]
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
);
}