Sign in
dawn
/
dawn
/
fa3f89b26b1bb003391d0baf5005c20e50e9b782
/
.
/
test
/
tint
/
expressions
/
swizzle
/
write
/
packed_vec3
/
f16.wgsl
blob: 93b7a1699f8f31a0e79b781fc155b9a745a88363 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
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
;
}