Sign in
dawn
/
tint
/
a52324fde1d7c457c2755f9f88e1ef72d7200843
/
.
/
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
;
}