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