Sign in
dawn
/
dawn
/
2b4c9cba1d0316ab403aab190d5d0a31f947339f
/
.
/
test
/
tint
/
builtins
/
workgroupUniformLoad
/
via_param.wgsl
blob: f435ed6de613d2f3eef4ed0ed99bdd3fe522813c [
file
] [
log
] [
blame
]
var
<workgroup>
v
:
array
<
i32
,
4
>;
fn foo
(
p
:
ptr
<
workgroup
,
i32
>)
->
i32
{
return
workgroupUniformLoad
(
p
);
}
fn bar
()
->
i32
{
return
foo
(&(
v
[
0
]));
}