gallivm: fix idiv
authorRoland Scheidegger <sroland@vmware.com>
Tue, 23 Sep 2014 17:29:33 +0000 (19:29 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 23 Sep 2014 19:46:00 +0000 (21:46 +0200)
commit5e1fcc625824ae962d5f658e151e6bc2665adce8
tree7986f16ff98b5c2afef6955b0820a8818dbee611
parent4ed23fd590b2de3dbf0a39e5f8374b395afd2902
gallivm: fix idiv

ffeb77c7b0552a8624e46e65d6347240ac5ae84d had a typo which turned all signed
integer divisions into unsigned ones. Oops.
This gets us back the 51 little piglits
(all from glsl built-in-functions, fs/vs/gs-op-div-int-ivec2 and similar).

Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c