vc4: Fix LT/GE set-0-or-1 compares.
authorEric Anholt <eric@anholt.net>
Sun, 24 Aug 2014 21:41:06 +0000 (14:41 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 25 Aug 2014 05:13:25 +0000 (22:13 -0700)
commit3212bafc28ca3991a89e0554d1867eaa5fde6a0b
tree87f38f7fa392086ceddc66b3cad161ed0262835e
parente2f66315cbf234779b195b6f7390ea9b11b288ad
vc4: Fix LT/GE set-0-or-1 compares.

We were using the integer sub, which worked for the common case of EQ and
NE.  Fixes fs-lessThan-ivec2-ivec2 and other tests.
src/gallium/drivers/vc4/vc4_qpu_emit.c