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