i965: Split the brw_samplers atom into separate FS/VS stages.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 26 Jun 2013 22:42:43 +0000 (15:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 20:17:00 +0000 (13:17 -0700)
commitc6e572275b60f0221691b9b97650b9b41b89a5a2
tree9f9035f4fabc16a292bf71f36c8736206d633e0e
parent7e01af662ad12bd2b27034f3ca7687e2986b5dbd
i965: Split the brw_samplers atom into separate FS/VS stages.

This allows us to avoid uploading the VS sampler state table if only the
fragment program changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c