Sign in
dawn
/
tint
/
5c99ed046a4488cfaba59b7cc5a61f3926c31e70
/
.
/
test
/
expressions
/
swizzle
/
write
/
vec3
/
f32.wgsl.expected.hlsl
blob: 4cfaf20633062394d95db3cc3c9af46afc398edf [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
struct
S
{
float3 v
;
};
static
S P
=
(
S
)
0
;
void
f
()
{
P
.
v
=
float3
(
1.0f
,
2.0f
,
3.0f
);
P
.
v
.
x
=
1.0f
;
P
.
v
.
y
=
2.0f
;
P
.
v
.
z
=
3.0f
;
}