[Mesa-dev] [PATCH 1/5] i965: Delete CACHE_NEW_BLORP_CONST_COLOR_PROG.

Ian Romanick idr at freedesktop.org
Fri Sep 26 16:43:16 PDT 2014


Series is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 09/26/2014 02:53 PM, Kenneth Graunke wrote:
> Unused since krh rewrote fast clears to use meta.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_context.h      | 2 --
>  src/mesa/drivers/dri/i965/brw_state_upload.c | 1 -
>  2 files changed, 3 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
> index 377853e..3efd582 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.h
> +++ b/src/mesa/drivers/dri/i965/brw_context.h
> @@ -685,7 +685,6 @@ enum brw_cache_id {
>     BRW_CC_UNIT,
>     BRW_WM_PROG,
>     BRW_BLORP_BLIT_PROG,
> -   BRW_BLORP_CONST_COLOR_PROG,
>     BRW_SAMPLER,
>     BRW_WM_UNIT,
>     BRW_SF_PROG,
> @@ -780,7 +779,6 @@ enum shader_time_shader_type {
>  #define CACHE_NEW_CC_UNIT                (1<<BRW_CC_UNIT)
>  #define CACHE_NEW_WM_PROG                (1<<BRW_WM_PROG)
>  #define CACHE_NEW_BLORP_BLIT_PROG        (1<<BRW_BLORP_BLIT_PROG)
> -#define CACHE_NEW_BLORP_CONST_COLOR_PROG (1<<BRW_BLORP_CONST_COLOR_PROG)
>  #define CACHE_NEW_SAMPLER                (1<<BRW_SAMPLER)
>  #define CACHE_NEW_WM_UNIT                (1<<BRW_WM_UNIT)
>  #define CACHE_NEW_SF_PROG                (1<<BRW_SF_PROG)
> diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
> index dd0ceb6..f4b0475 100644
> --- a/src/mesa/drivers/dri/i965/brw_state_upload.c
> +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
> @@ -520,7 +520,6 @@ static struct dirty_bit_map cache_bits[] = {
>     DEFINE_BIT(CACHE_NEW_CC_UNIT),
>     DEFINE_BIT(CACHE_NEW_WM_PROG),
>     DEFINE_BIT(CACHE_NEW_BLORP_BLIT_PROG),
> -   DEFINE_BIT(CACHE_NEW_BLORP_CONST_COLOR_PROG),
>     DEFINE_BIT(CACHE_NEW_SAMPLER),
>     DEFINE_BIT(CACHE_NEW_WM_UNIT),
>     DEFINE_BIT(CACHE_NEW_SF_PROG),
> 



More information about the mesa-dev mailing list