summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-07-17 11:18:35 -0700
committerCarl Worth <cworth@cworth.org>2014-07-30 16:31:39 -0700
commit62ebb85cd411246ae47868e661d862e27921d762 (patch)
tree7fe4196345895ef5daf6f124bda3b3c6368e6d84 /src/mesa
parent8c8dc8c9e95f82051f598d2c878175e4208b351a (diff)
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@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> (cherry picked from commit 4cf47c80fc841f1542762a0112117ebeff1058f1)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
index fecd4fcfbd8..30f2fe100fe 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.c
+++ b/src/mesa/drivers/dri/i965/brw_wm.c
@@ -280,6 +280,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",