Sign in
dawn
/
dawn
/
2d245581d702e6d94de066f8d53a3f8b5aa263e2
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-scalar
/
f32.wgsl.expected.ir.fxc.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
);
}