Sign in
dawn
/
dawn
/
74da3bc61d4606f2f223b2e2ce70423d5dd4efdd
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
i32_in_struct.wgsl.expected.ir.msl
blob: e08d128e74b7c6fa084c04a75128ef6ee0353fff [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
str
{
int
i
;
};
int
func
(
thread
int
*
const
pointer
)
{
return
(*
pointer
);
}
kernel
void
tint_symbol
()
{
str F
=
{};
int
const
r
=
func
((&
F
.
i
));
}