gallivm: Fix mask calculation for emit_kill_if.
authorSi Chen <sichen@vmware.com>
Thu, 14 Nov 2013 17:17:13 +0000 (09:17 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 19 Nov 2013 19:16:18 +0000 (19:16 +0000)
commite7a5905d8a3960b0981750f8131e3af9acbfcdb8
tree451b43f4c28db5d6df2b7c92aa8c28161551fe14
parent81b998ca48fc96753096f22949bf3785b7aa425c
gallivm: Fix mask calculation for emit_kill_if.

The exec_mask must be taken in consideration, just like emit_kill above.

The tgsi_exec module has the same bug and should be fixed in a future
change.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c