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