Sign in
dawn
/
dawn
/
refs/heads/tint-merge
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
ptr.wgsl.expected.msl
blob: 7460a3e745f5d2b6d9a7736a5e0d3e66d841a4d5 [
file
] [
log
] [
blame
] [
edit
]
#include
<metal_stdlib>
using
namespace
metal
;
void
func
(
int
value
,
thread
int
*
const
pointer
)
{
*(
pointer
)
=
value
;
}
kernel
void
tint_symbol
()
{
int
i
=
123
;
func
(
123
,
&(
i
));
return
;
}