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