Sign in
dawn
/
dawn
/
c8f5ca3df8b3b2f0ced5afa3c765e15bd5b065f7
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl.expected.msl
blob: 5b9938e1ebb2c62b20ced523b497336aa9785c2b [
file
]
#include
<metal_stdlib>
using
namespace
metal
;
[[
max_total_threads_per_threadgroup
(
1
)]]
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
)));
}