Sign in
dawn
/
dawn
/
5c83f2c5d08d73e68be8aadce2edca8dbda3e66d
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl.expected.msl
blob: 2c151b34b33bf4f13a74b0ef62a99def448d0988 [
file
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
v
()
{
int
i
=
123
;
thread
int
*
const
p
=
(&
i
);
int
const
u
=
as_type
<int>
((
as_type
<uint>
((*
p
))
+
as_type
<uint>
(
1
)));
}