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