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