i965/fs: Relax type check in cmod propagation.
authorMatt Turner <mattst88@gmail.com>
Thu, 26 Mar 2015 17:09:54 +0000 (10:09 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 1 Apr 2015 20:43:57 +0000 (13:43 -0700)
commita03d0ba78f33e43df2ca7a9e4c58fdc9fbc9876a
treebb08858606695ece2cacbf35286287d7af757554
parent781badee7a46c7eb778fb2755d799151d8b748bf
i965/fs: Relax type check in cmod propagation.

The thing we want to avoid is int/float comparisons, but int/unsigned
comparisons with 0 are equivalent.

total instructions in shared programs: 6194829 -> 6193996 (-0.01%)
instructions in affected programs:     117192 -> 116359 (-0.71%)
helped:                                471

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp