Sign in
dawn
/
dawn
/
c87b1fe8c96efd1661551d0e4e87c1ddf5fa0ec3
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
vec3
/
f32.wgsl.expected.msl
blob: 7122f543519dcffb27ad0c49f5e90a2ae13a4d83 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
float3 v
;
};
void
f
()
{
thread S tint_symbol
=
{};
tint_symbol
.
v
=
float3
(
1.0f
,
2.0f
,
3.0f
);
tint_symbol
.
v
[
0
]
=
1.0f
;
tint_symbol
.
v
[
1
]
=
2.0f
;
tint_symbol
.
v
[
2
]
=
3.0f
;
}