i965/fs: Only set brw_wm_prog_key data for samplers used by the WM.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 8 Dec 2011 20:15:59 +0000 (12:15 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Dec 2011 00:33:10 +0000 (16:33 -0800)
commit387a3d43d11cbd3eb1bd8ce787a2c693d575300c
tree727b255414d7dfce12edda1937872063b48633cc
parent1b05fc7cdd0e5d77b50bc8ee2f2c851da5884d72
i965/fs: Only set brw_wm_prog_key data for samplers used by the WM.

This should avoid state-dependent FS recompiles when samplers that are
only used by the VS change.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_wm.c