Sign in
dawn
/
dawn
/
8094ad137352ceb61fe4a957652cae2390c7ee76
/
.
/
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
;
}