Sign in
dawn
/
dawn
/
67cf9789f07d0ebc8c694f7fe8f09b9fed6e8c73
/
.
/
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
;
}