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