summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-07-17 11:18:35 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-07-21 11:19:44 -0700
commit4cf47c80fc841f1542762a0112117ebeff1058f1 (patch)
tree932a70da17ce2ca3e805e01f56b2039603100eb0 /src/mesa/drivers/dri
parentcaf8c07dd40b26ae3f4b8f1bf4ff26bd226a3b7b (diff)
downloadexternal_mesa3d-4cf47c80fc841f1542762a0112117ebeff1058f1.zip
external_mesa3d-4cf47c80fc841f1542762a0112117ebeff1058f1.tar.gz
external_mesa3d-4cf47c80fc841f1542762a0112117ebeff1058f1.tar.bz2
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>
Diffstat (limited to 'src/mesa/drivers/dri')
-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 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",