Sign in
dawn
/
dawn
/
df73f162050983d95e38f2404ef4e4e3c86d6be0
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl.expected.msl
blob: 2c151b34b33bf4f13a74b0ef62a99def448d0988 [
file
] [
log
] [
blame
]
#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
)));
}