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