OSDN Git Service

i965/fs: Allow constant propagation into MACH.
authorEric Anholt <eric@anholt.net>
Fri, 15 Mar 2013 21:21:30 +0000 (14:21 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2013 23:17:24 +0000 (16:17 -0700)
commit1d6ead38042cc0d1e667d8ff55937c1e32d108b1
treedbaf84a7a95ea9b70d735073a918194ab48abcfc
parent50fd9c454495d15239b059236e17d29b57297dd4
i965/fs: Allow constant propagation into MACH.

This happens quite a bit with varying-index uniform loads.  We could also
do better by avoiding the MACH entirely, but there's no reason not to at
least take this step.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp