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