i965/gen6: Don't update unit state when samplers change.

There's no remaining dependency between these two packets that I can find.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2014-05-01 13:49:57 -07:00
parent 02a3449758
commit 680d202d49
2 changed files with 2 additions and 3 deletions

View File

@ -218,7 +218,7 @@ const struct brw_tracked_state gen6_vs_state = {
BRW_NEW_VERTEX_PROGRAM |
BRW_NEW_BATCH |
BRW_NEW_PUSH_CONSTANT_ALLOCATION),
.cache = CACHE_NEW_VS_PROG | CACHE_NEW_SAMPLER
.cache = CACHE_NEW_VS_PROG
},
.emit = upload_vs_state,
};

View File

@ -330,8 +330,7 @@ const struct brw_tracked_state gen6_wm_state = {
.brw = (BRW_NEW_FRAGMENT_PROGRAM |
BRW_NEW_BATCH |
BRW_NEW_PUSH_CONSTANT_ALLOCATION),
.cache = (CACHE_NEW_SAMPLER |
CACHE_NEW_WM_PROG)
.cache = (CACHE_NEW_WM_PROG)
},
.emit = upload_wm_state,
};