Sign in
dawn
/
dawn
/
08f33fe5c6daea5cede4c1a5ac891fd3bf975c31
/
.
/
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
;
}