Sign in
dawn
/
dawn
/
6fd43a01049844ab9645881cd75f9efd12147b65
/
.
/
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
]));
}