From 244c2a5d2c862f6cd75f5f4f1eacd7eec719d38a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 14 Jun 2017 01:52:04 -0700 Subject: [PATCH] i965: Print "force dual color blending" in FS recompile debug output. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Reviewed-by: Alejandro Piñeiro --- 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); -- 2.30.2