Sign in
dawn
/
dawn
/
55be62690cbc0e466e875c7eeea00afa62bccfaa
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
i32_in_struct.wgsl.expected.msl
blob: a708f6630022c341de976b1288f63582640abf52 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
str
{
/* 0x0000 */
int
i
;
};
void
func
(
device
int
*
const
pointer
)
{
*(
pointer
)
=
42
;
}
kernel
void
tint_symbol
(
device str
*
tint_symbol_1
[[
buffer
(
0
)]])
{
func
(&((*(
tint_symbol_1
)).
i
));
return
;
}