vc4: Fix FLR for integer values less than 0.
authorEric Anholt <eric@anholt.net>
Wed, 20 Aug 2014 21:44:36 +0000 (14:44 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Aug 2014 17:16:57 +0000 (10:16 -0700)
commitc3c922289b2fb080ec184d9bd7e71a8870ced18d
tree761325ed6d90430442566eba465e36b4a08b4d4f
parent2ab4e48f9457159087c851f2230c1e642ea65802
vc4: Fix FLR for integer values less than 0.

If we didn't truncate at all, then we don't need to fix for truncation
happening in the wrong direction.

Fixes piglit builtin-functions/*-floor-*
src/gallium/drivers/vc4/vc4_program.c