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