Mesa (master): i965: Add missing persample_shading field to brw_wm_debug_recompile.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Jul 21 18:27:28 UTC 2014


Module: Mesa
Branch: master
Commit: 4cf47c80fc841f1542762a0112117ebeff1058f1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cf47c80fc841f1542762a0112117ebeff1058f1

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 17 11:18:35 2014 -0700

i965: Add missing persample_shading field to brw_wm_debug_recompile.

Otherwise, the performance warning for shader recompiles will just say
"something else".

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 src/mesa/drivers/dri/i965/brw_wm.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
index d716e6f..d5a28dc 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.c
+++ b/src/mesa/drivers/dri/i965/brw_wm.c
@@ -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",




More information about the mesa-commit mailing list