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