i965/fs: Add a helper function for checking for partial register updates.
authorEric Anholt <eric@anholt.net>
Mon, 4 Jun 2012 15:59:00 +0000 (08:59 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2013 23:32:12 +0000 (16:32 -0700)
commit2cb7f1e766d28dd238274f74d9568ab4438c4965
treecdc2f69424bc88a4fe15bd04a8247722f09e58aa
parentdf25b4f3cf22282b06e622f3cf1f5855b8f767a8
i965/fs: Add a helper function for checking for partial register updates.

These checks were all over, and every time I wrote one I had to try to
decide again what the cases were for partial updates.

v2: Fix inadvertent reladdr check removal.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp