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