Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
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
;
}