Sign in
dawn
/
tint
/
6f5316ba460b5b230f0f19e7c845af579b1e6822
/
.
/
test
/
ptr_ref
/
store
/
param
/
ptr.spvasm.expected.msl
blob: e689f47c2beb864a585cdaac75e0e352258d7e62 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
func
(
int
value
,
thread
int
*
const
pointer
)
{
*(
pointer
)
=
value
;
return
;
}
void
main_1
()
{
int
i
=
0
;
i
=
123
;
func
(
123
,
&(
i
));
return
;
}
kernel
void
tint_symbol
()
{
main_1
();
return
;
}