i965: Upload separate VS and FS sampler state tables.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 26 Jun 2013 05:14:04 +0000 (22:14 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 Aug 2013 20:16:59 +0000 (13:16 -0700)
commit7e01af662ad12bd2b27034f3ca7687e2986b5dbd
tree14e9e1e6c658ed909ccf99beef13cc04b9b5f8c4
parent2b7f876a6ad62ad9a93c0df15cb4be1fcc61d380
i965: Upload separate VS and FS sampler state tables.

Now, each shader stage has a sampler state table that only refers to the
samplers actually used by that problem.  This should make the VS table
non-existant or very small.

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