Sign in
dawn
/
dawn
/
94884fc11d3a42e398eb75972017aac6df3ac038
/
.
/
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
);
}