Sign in
dawn
/
dawn
/
5975d5710055728034f8bd6902f3e69ba45460cf
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
storage
/
i32.wgsl.expected.wgsl
blob: 955c304a106d6fadc97418be390828904ec14a92 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<storage>
S
:
i32
;
fn func
(
pointer
:
ptr
<
storage
,
i32
>)
->
i32
{
return
*(
pointer
);
}
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
S
));
}