From: Kenneth Graunke Date: Thu, 17 Jul 2014 18:18:35 +0000 (-0700) Subject: i965: Add missing persample_shading field to brw_wm_debug_recompile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cf47c80fc841f1542762a0112117ebeff1058f1;p=mesa.git 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 Reviewed-by: Jordan Justen --- diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index d716e6f9325..d5a28dc5308 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",