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