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