[Mesa-dev] [PATCH 2/2] i965: Drop BRW_NEW_CONTEXT from 3DSTATE_DS/GS on Gen7-7.5.

Pohjolainen, Topi topi.pohjolainen at gmail.com
Thu Apr 27 12:31:44 UTC 2017


On Thu, Apr 27, 2017 at 01:07:00AM -0700, Kenneth Graunke wrote:
> We already have BRW_NEW_BATCH, which completely covers all the cases
> that BRW_NEW_CONTEXT would handle.  Drop it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

> ---
>  src/mesa/drivers/dri/i965/gen7_ds_state.c | 1 -
>  src/mesa/drivers/dri/i965/gen7_gs_state.c | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/gen7_ds_state.c b/src/mesa/drivers/dri/i965/gen7_ds_state.c
> index 667195d4644..74915954d01 100644
> --- a/src/mesa/drivers/dri/i965/gen7_ds_state.c
> +++ b/src/mesa/drivers/dri/i965/gen7_ds_state.c
> @@ -118,7 +118,6 @@ const struct brw_tracked_state gen7_ds_state = {
>        .mesa  = 0,
>        .brw   = BRW_NEW_BATCH |
>                 BRW_NEW_BLORP |
> -               BRW_NEW_CONTEXT |
>                 BRW_NEW_TESS_PROGRAMS |
>                 BRW_NEW_TES_PROG_DATA,
>     },
> diff --git a/src/mesa/drivers/dri/i965/gen7_gs_state.c b/src/mesa/drivers/dri/i965/gen7_gs_state.c
> index 63b4f8ec2b7..dc5e006f999 100644
> --- a/src/mesa/drivers/dri/i965/gen7_gs_state.c
> +++ b/src/mesa/drivers/dri/i965/gen7_gs_state.c
> @@ -160,7 +160,6 @@ const struct brw_tracked_state gen7_gs_state = {
>        .mesa  = 0,
>        .brw   = BRW_NEW_BATCH |
>                 BRW_NEW_BLORP |
> -               BRW_NEW_CONTEXT |
>                 BRW_NEW_GEOMETRY_PROGRAM |
>                 BRW_NEW_GS_PROG_DATA,
>     },
> -- 
> 2.12.2
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list