Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
i32_in_struct.wgsl.expected.msl
blob: ccbfc42ff234e918d44651bedfa48bb5a36b5511 [
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
));
return
;
}