From 680d202d49d2f2f67921940cc8b44bcb40b04d2a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 1 May 2014 13:49:57 -0700 Subject: 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 --- src/mesa/drivers/dri/i965/gen6_wm_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/gen6_wm_state.c') diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c index 742a52e8f9d..3f5dd29487f 100644 --- a/src/mesa/drivers/dri/i965/gen6_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c @@ -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, }; -- cgit v1.2.3