[Mesa-dev] [PATCH] i965: Add missing persample_shading field to brw_wm_debug_recompile.

Jordan Justen jljusten at gmail.com
Thu Jul 17 13:56:30 PDT 2014


Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

On Thu, Jul 17, 2014 at 11:18 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Otherwise, the performance warning for shader recompiles will just say
> "something else".
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_wm.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
> index d716e6f..d5a28dc 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm.c
> @@ -275,6 +275,8 @@ brw_wm_debug_recompile(struct brw_context *brw,
>                        old_key->stats_wm, key->stats_wm);
>     found |= key_debug(brw, "flat shading",
>                        old_key->flat_shade, key->flat_shade);
> +   found |= key_debug(brw, "per-sample shading",
> +                      old_key->persample_shading, key->persample_shading);
>     found |= key_debug(brw, "number of color buffers",
>                        old_key->nr_color_regions, key->nr_color_regions);
>     found |= key_debug(brw, "MRT alpha test or alpha-to-coverage",
> --
> 2.0.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list