Sign in
dawn
/
dawn
/
0781a51490a336b981ec94382d20d74d8ce7a983
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
vec3
/
f16.wgsl
blob: e857da0c31dfef422b45cf3ef238962d4c7a7a28 [
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
;
}