summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_text.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-05-08 09:06:36 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2014-05-14 09:40:37 -0400
commit04b7e65814cd2174185109d3c55c86eb4134f09b (patch)
treee23cae18955fe62ba1cd77010bf9c94aa3ce5dd4 /src/gallium/auxiliary/tgsi/tgsi_text.c
parent209522070e370d927ede7b4fa60aca57566159f8 (diff)
downloadexternal_mesa3d-04b7e65814cd2174185109d3c55c86eb4134f09b.zip
external_mesa3d-04b7e65814cd2174185109d3c55c86eb4134f09b.tar.gz
external_mesa3d-04b7e65814cd2174185109d3c55c86eb4134f09b.tar.bz2
mesa/st: provide native integers implementation of ir_unop_any
Previously, ir_unop_any was implemented via a dot-product call, which uses floating point multiplication and addition. The multiplication was completely pointless, and the addition can just as well be done with an or. Since we know that the inputs are booleans, they must already be in canonical 0/~0 format, and the final SNE can also be avoided. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_text.c')
0 files changed, 0 insertions, 0 deletions