Sign in
dawn
/
tint
/
cc05d89820f07370aa63af5a878f7b6125f61286
/
.
/
test
/
expressions
/
swizzle
/
write
/
vec3
/
u32.wgsl.expected.msl
blob: f665ab6387d27cd99ce2bafaffadaf23cf9b21a7 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
uint3 v
;
};
void
f
(
thread S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
v
=
uint3
(
1u
,
2u
,
3u
);
(*(
tint_symbol
)).
v
[
0
]
=
1u
;
(*(
tint_symbol
)).
v
[
1
]
=
2u
;
(*(
tint_symbol
)).
v
[
2
]
=
3u
;
}