Sign in
dawn
/
dawn
/
2710affeaeca38dbaf3039b95903f113de88b11a
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-scalar
/
f16.wgsl.expected.ir.dxc.hlsl
blob: bc692767d8df69762bd9d23f78eefadcb240900d [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
float16_t
a
=
float16_t
(
1.0h
);
float16_t
b
=
float16_t
(
2.0h
);
float16_t
v
=
(
a
/
b
);
float16_t
v_1
=
floor
(
v
);
float16_t
r
=
(
a
-
((((
v
<
float16_t
(
0.0h
)))
?
(
ceil
(
v
))
:
(
v_1
))
*
b
));
}