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