Sign in
dawn
/
tint
/
5f6a185d0210fa6adf8bbcc4c2f4f3133e671001
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl.expected.wgsl
blob: e29289c7e94795bd650651e51da73c39d31b7104 [
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
);
}