Sign in
dawn
/
dawn
/
8392a82a40b73685a9832d42556efd7c43e4951e
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
vec3
/
i32.wgsl.expected.msl
blob: 1e4aee136e3d087379a069d5e9197acc5954b755 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int3 v
;
};
void
f
()
{
thread S tint_symbol
=
{};
tint_symbol
.
v
=
int3
(
1
,
2
,
3
);
tint_symbol
.
v
[
0
]
=
1
;
tint_symbol
.
v
[
1
]
=
2
;
tint_symbol
.
v
[
2
]
=
3
;
}