Sign in
◑
Theme
dawn
/
dawn
/
392c1f0ea202e09b3eed75a19e5e2dcfef93573f
/
.
/
test
/
tint
/
ptr_ref
/
load
/
local
/
ptr_function.wgsl.expected.msl
blob: 26b7979ad886b9dcc971b1b14ee85f96131916d3 [
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
))
+
1u
));
}