Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-scalar
/
f16.wgsl.expected.ir.dxc.hlsl
blob: 0375cc837999b0c17af48b5cd00d86f7dbded17b [
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
r
=
(
a
-
((((
v
<
float16_t
(
0.0h
)))
?
(
ceil
(
v
))
:
(
floor
(
v
)))
*
b
));
}