i965: Add missing persample_shading field to brw_wm_debug_recompile.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Jul 2014 18:18:35 +0000 (11:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jul 2014 18:19:44 +0000 (11:19 -0700)
Otherwise, the performance warning for shader recompiles will just say
"something else".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_wm.c

index d716e6f9325fb04fae113c9e8522ce816de0f233..d5a28dc530899d5673000956eae678434adea5b7 100644 (file)
@@ -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",