i965: Print "force dual color blending" in FS recompile debug output.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Jun 2017 08:52:04 +0000 (01:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Jun 2017 21:30:11 +0000 (14:30 -0700)
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 <apinheiro@igalia.com>
src/mesa/drivers/dri/i965/brw_wm.c

index 6fac3c4..e09def9 100644 (file)
@@ -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);