[Mesa-dev] [PATCH] i965: Print "force dual color blending" in FS recompile debug output.
Alejandro Piñeiro
apinheiro at igalia.com
Wed Jun 14 09:14:19 UTC 2017
Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
On 14/06/17 10:53, Kenneth Graunke wrote:
> I forgot to add this when introducing the new key field. It doesn't
> happen often - just with the Unigine workarounds. But we may as well
> have it, so we get an accurate picture of why recompiles happen.
> ---
> src/mesa/drivers/dri/i965/brw_wm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
> index 6fac3c4a849..e09def9d92c 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm.c
> @@ -106,6 +106,9 @@ brw_wm_debug_recompile(struct brw_context *brw, struct gl_program *prog,
> 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);
>
More information about the mesa-dev
mailing list