Sign in
dawn
/
tint
/
bf0180bcee90e8624d8063e55624bfebd8f7fb76
/
.
/
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
;
}