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