Sign in
dawn
/
dawn
/
f35c7190540806030ce564db1cde3b84a3c8e7be
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
vec3
/
f16.wgsl.expected.wgsl
blob: e1b0315b14ffb120fa848cb02dcf118488d6a5f7 [
file
] [
log
] [
blame
]
enable f16
;
struct
S
{
v
:
vec3
<f16>
,
}
var
<private>
P
:
S
;
fn f
()
{
P
.
v
=
vec3
<f16>
(
1.0h
,
2.0h
,
3.0h
);
P
.
v
.
x
=
1.0h
;
P
.
v
.
y
=
2.0h
;
P
.
v
.
z
=
3.0h
;
}