glsl_to_tgsi: don't use the negate modifier in integer ops after bitcast
authorMarek Olšák <marek.olsak@amd.com>
Sun, 3 Jul 2016 12:33:55 +0000 (14:33 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 12 Jul 2016 09:58:53 +0000 (11:58 +0200)
commitead7736821633bbbd8ae743a49d2ee87ebef0763
treee8c34c4677380eb066237b180949e5b14ad8032d
parente30069630407e49008aaa160acb4c5684532b2c2
glsl_to_tgsi: don't use the negate modifier in integer ops after bitcast

This bug is uncovered by glsl/lower_if_to_cond_assign.
I don't know if it can be reproduced in any other way.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp