glsl_to_tgsi: implement ir_binop_any_nequal using DP4 w/saturate or DP4 w/SLT
authorBryan Cain <bryancain3@gmail.com>
Sat, 20 Aug 2011 18:56:06 +0000 (13:56 -0500)
committerBryan Cain <bryancain3@gmail.com>
Sat, 20 Aug 2011 19:00:41 +0000 (14:00 -0500)
commitf3dce133f0422c42ca61f07f488237107efc30e6
tree3ec8411a08b3ec98de5a829264d9fb1d739af8ad
parenta43f68810a347f3e952a0bc401be6edb91e1baea
glsl_to_tgsi: implement ir_binop_any_nequal using DP4 w/saturate or DP4 w/SLT

Implement the any() part of the operation the same way regular ir_unop_any
is implemented.

This is a port of commit e7bf096e8b04 to glsl_to_tgsi, with added integer
support.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp