Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
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
));
}