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