i965/fs: Propagate cmod across flag read if it contains the same value.
authorMatt Turner <mattst88@gmail.com>
Sat, 3 Jan 2015 20:18:15 +0000 (12:18 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 24 Jan 2015 01:57:40 +0000 (17:57 -0800)
commitd6317beb463e1e362562fd0353a99b4b080c136c
treeb9da481240e28efcfd99573f4d299cd8456ddf60
parent3fb5b2bc476790d4775fd8b20e598835d9cfef22
i965/fs: Propagate cmod across flag read if it contains the same value.

total instructions in shared programs: 5959463 -> 5958900 (-0.01%)
instructions in affected programs:     70031 -> 69468 (-0.80%)

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp
src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp