From: Kenneth Graunke Date: Wed, 13 Mar 2013 05:16:37 +0000 (-0700) Subject: i965: Remove BRW_NEW_WM_INPUT_DIMENSIONS dirty bit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b99ad7f02c5561b179d59418a64c2756c1d77f16;p=mesa.git i965: Remove BRW_NEW_WM_INPUT_DIMENSIONS dirty bit. This was only produced by the brw_wm_input_dimensions atom, which was removed in the previous commit. So there's no need for the dirty bit. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 32ff30efe58..ad19a0f7cb2 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -137,7 +137,6 @@ enum brw_state_id { BRW_STATE_REDUCED_PRIMITIVE, BRW_STATE_PRIMITIVE, BRW_STATE_CONTEXT, - BRW_STATE_WM_INPUT_DIMENSIONS, BRW_STATE_PSP, BRW_STATE_SURFACES, BRW_STATE_VS_BINDING_TABLE, @@ -164,7 +163,6 @@ enum brw_state_id { #define BRW_NEW_REDUCED_PRIMITIVE (1 << BRW_STATE_REDUCED_PRIMITIVE) #define BRW_NEW_PRIMITIVE (1 << BRW_STATE_PRIMITIVE) #define BRW_NEW_CONTEXT (1 << BRW_STATE_CONTEXT) -#define BRW_NEW_WM_INPUT_DIMENSIONS (1 << BRW_STATE_WM_INPUT_DIMENSIONS) #define BRW_NEW_PSP (1 << BRW_STATE_PSP) #define BRW_NEW_SURFACES (1 << BRW_STATE_SURFACES) #define BRW_NEW_VS_BINDING_TABLE (1 << BRW_STATE_VS_BINDING_TABLE) diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index 6488d407e1c..c0e69598cb8 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -359,7 +359,6 @@ static struct dirty_bit_map brw_bits[] = { DEFINE_BIT(BRW_NEW_REDUCED_PRIMITIVE), DEFINE_BIT(BRW_NEW_PRIMITIVE), DEFINE_BIT(BRW_NEW_CONTEXT), - DEFINE_BIT(BRW_NEW_WM_INPUT_DIMENSIONS), DEFINE_BIT(BRW_NEW_PSP), DEFINE_BIT(BRW_NEW_SURFACES), DEFINE_BIT(BRW_NEW_VS_BINDING_TABLE), diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 35d6876edc8..9b30ba1ad55 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -508,7 +508,6 @@ const struct brw_tracked_state brw_wm_prog = { _NEW_TEXTURE | _NEW_MULTISAMPLE), .brw = (BRW_NEW_FRAGMENT_PROGRAM | - BRW_NEW_WM_INPUT_DIMENSIONS | BRW_NEW_REDUCED_PRIMITIVE | BRW_NEW_VUE_MAP_GEOM_OUT) },