Sign in
dawn
/
dawn
/
dbf9e41a121f3e299a578e0f96c9a30f9624d445
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f16.wgsl.expected.wgsl
blob: daa08f6459c3916de24f3f4b383b8200bd86d78d [
file
] [
log
] [
blame
]
enable f16
;
struct
S
{
v
:
vec3
<f16>
,
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
U
:
S
;
fn f
()
{
U
.
v
=
vec3
<f16>
(
1.0h
,
2.0h
,
3.0h
);
U
.
v
.
x
=
1.0h
;
U
.
v
.
y
=
2.0h
;
U
.
v
.
z
=
3.0h
;
}