Sign in
dawn
/
dawn
/
71c1d54494d08a2454baab208129a0122238946c
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
ptr.wgsl.expected.ir.msl
blob: fa1b10fce53835d609a79c7092fe9e4d7c450533 [
file
] [
log
] [
blame
]
#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
));
}