Sign in
dawn
/
tint.git
/
5102f87e38e0092828664b0208e5398781e8686e
/
.
/
test
/
ptr_ref
/
load
/
global
/
struct_field.wgsl.expected.msl
blob: cca8c398b95dcffffc619c34cdb29847ec6a6fa9 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int
i
;
};
kernel
void
tint_symbol
()
{
thread S tint_symbol_2
=
{};
thread S
*
const
tint_symbol_1
=
&(
tint_symbol_2
);
int
const
i
=
(*(
tint_symbol_1
)).
i
;
return
;
}