Sign in
dawn
/
dawn
/
02cdbebf9c1690f9a991aaa51e0331ca04694dff
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
ptr.wgsl.expected.ir.msl
blob: fa1b10fce53835d609a79c7092fe9e4d7c450533 [
file
]
#include
<metal_stdlib>
using
namespace
metal
;
int
func
(
int
value
,
thread
int
*
const
pointer
)
{
return
as_type
<int>
((
as_type
<uint>
(
value
)
+
as_type
<uint>
((*
pointer
))));
}
kernel
void
tint_symbol
()
{
int
i
=
123
;
int
const
r
=
func
(
i
,
(&
i
));
}