Sign in
dawn
/
tint
/
3e80ae68ee4baa5a53d01bf5eb6795b416dc5bd5
/
.
/
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
;
}