[Mesa-dev] [PATCH 2/4] i965: Update brw_wm_debug_recompile() for newer key entries.

Jason Ekstrand jason at jlekstrand.net
Sat Oct 28 18:07:39 UTC 2017


Acked-by: Jason Ekstrand <jason at jlekstrand.net>

On Sat, Oct 28, 2017 at 10:32 AM, Kenneth Graunke <kenneth at whitecape.org>
wrote:

> Also, reorder them to match the structure's field order, to make it
> easier to check that they're all present.
> ---
>  src/mesa/drivers/dri/i965/brw_wm.c | 19 ++++++++++++++-----
>  1 file changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_wm.c
> b/src/mesa/drivers/dri/i965/brw_wm.c
> index 69d8e61e402..ad1c8aed79e 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm.c
> @@ -88,27 +88,36 @@ brw_wm_debug_recompile(struct brw_context *brw, struct
> gl_program *prog,
>                        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 interpolation",
> -                      old_key->persample_interp, key->persample_interp);
>     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",
>                        old_key->replicate_alpha, key->replicate_alpha);
>     found |= key_debug(brw, "fragment color clamping",
>                        old_key->clamp_fragment_color,
> key->clamp_fragment_color);
> +   found |= key_debug(brw, "per-sample interpolation",
> +                      old_key->persample_interp, key->persample_interp);
>     found |= key_debug(brw, "multisampled FBO",
>                        old_key->multisample_fbo, key->multisample_fbo);
> +   found |= key_debug(brw, "frag coord adds sample pos",
> +                      old_key->frag_coord_adds_sample_pos,
> +                      key->frag_coord_adds_sample_pos);
>     found |= key_debug(brw, "line smoothing",
>                        old_key->line_aa, key->line_aa);
> +   found |= key_debug(brw, "high quality derivatives",
> +                      old_key->high_quality_derivatives,
> +                      key->high_quality_derivatives);
> +   found |= key_debug(brw, "force dual color blending",
> +                      old_key->force_dual_color_blend,
> +                      key->force_dual_color_blend);
> +   found |= key_debug(brw, "coherent fb fetch",
> +                      old_key->coherent_fb_fetch, key->coherent_fb_fetch);
> +
>     found |= key_debug(brw, "input slots valid",
>                        old_key->input_slots_valid, key->input_slots_valid);
>     found |= key_debug(brw, "mrt alpha test function",
>                        old_key->alpha_test_func, key->alpha_test_func);
>     found |= key_debug(brw, "mrt alpha test reference value",
>                        old_key->alpha_test_ref, key->alpha_test_ref);
> -   found |= key_debug(brw, "force dual color blending",
> -                      old_key->force_dual_color_blend,
> -                      key->force_dual_color_blend);
>
>     found |= brw_debug_recompile_sampler_key(brw, &old_key->tex,
> &key->tex);
>
> --
> 2.14.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171028/4a0984d3/attachment-0001.html>


More information about the mesa-dev mailing list