Sign in
dawn
/
dawn
/
ec871f2da1702386bfb22c52f29fd527dad70b76
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-vec3
/
f32.wgsl.expected.ir.dxc.hlsl
blob: 0a76ed1f0acc0b85b886e52e7de7f1b6eff411f0 [
file
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
float
a
=
4.0f
;
float3 b
=
float3
(
1.0f
,
2.0f
,
3.0f
);
float3 v
=
(
a
/
b
);
float3 r
=
(
a
-
((((
v
<
(
0.0f
).
xxx
))
?
(
ceil
(
v
))
:
(
floor
(
v
)))
*
b
));
}