Sign in
dawn
/
dawn
/
c0f1ed4fe729b822a7697058a41f8042c4145e59
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl
blob: df537749fe4419dc49429e9d0fda748c83835bd4 [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
var
i
:
i32
=
123
;
let
p
:
ptr
<
function
,
i32
>
=
&
i
;
let
use
:
i32
=
*
p
+
1
;
}