Sign in
dawn
/
dawn
/
e4d210d69171910312fedb84f836653b4a9869a2
/
.
/
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
;
}