i965/fs: Add support for constant propagating into sources with modifiers.
authorMatt Turner <mattst88@gmail.com>
Thu, 29 Jan 2015 02:37:32 +0000 (18:37 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 3 Feb 2015 20:25:14 +0000 (12:25 -0800)
commite87928a494a7cf0985a9d1cd78bda8729d17c614
tree41570e0360460c38a13ac5f6de5d066cdee8d1eb
parentcfa21656420c52a8c99e146314675f691e277c42
i965/fs: Add support for constant propagating into sources with modifiers.

All but 16 of the programs helped were ARB fp programs.

total instructions in shared programs: 5949286 -> 5945470 (-0.06%)
instructions in affected programs:     275162 -> 271346 (-1.39%)
helped:                                1197
GAINED:                                1

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp