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