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