Sign in
dawn
/
dawn
/
e4d210d69171910312fedb84f836653b4a9869a2
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
i32.wgsl
blob: 177b0ce780f09f2387853be98451bb4a5b4e70ba [
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
);
}