Sign in
dawn
/
dawn
/
c9787e774abaf2920dc000cb080d5ed0ee3ddf8f
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
literal
/
array.wgsl.expected.msl
blob: d4d28b15295271ef1be7b855dea1313d57400317 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_array_wrapper
{
int
arr
[
8
];
};
int
f
()
{
tint_array_wrapper
const
a
=
{.
arr
={
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
}};
return
a
.
arr
[
1
];
}