Sign in
dawn
/
tint
/
677437d650552f56cd38fbd1fe12e78539feba3b
/
.
/
test
/
bug
/
tint
/
492.wgsl.expected.msl
blob: ddf883fb0326420d053ceb0cd4841edaecb6131e [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
int
a
;
};
kernel
void
tint_symbol
(
device S
&
buf
[[
buffer
(
0
)]])
{
device
int
*
const
p
=
&(
buf
.
a
);
*(
p
)
=
12
;
return
;
}