Sign in
dawn
/
dawn
/
1aad86d9ef817cdbca98b0595fbb886ab411ae15
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
workgroup
/
i32.wgsl.expected.wgsl
blob: 65469f1fae9cc9657ffdac6310f23ed5be308ede [
file
] [
log
] [
blame
]
var
<workgroup>
S
:
i32
;
fn func
(
pointer
:
ptr
<
workgroup
,
i32
>)
->
i32
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
));
}