On Thu, Apr 23, 2015 at 11:24:11PM -0700, Kenneth Graunke wrote: > This makes INTEL_DEBUG=perf report shader recompiles due to CMS vs. > UMS/IMS differences and Sandybridge textureGather workarounds. > > Previously, we just flagged them as "Something else". > > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolai...@intel.com> > --- > src/mesa/drivers/dri/i965/brw_wm.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_wm.c > b/src/mesa/drivers/dri/i965/brw_wm.c > index 959f346..45a03bb 100644 > --- a/src/mesa/drivers/dri/i965/brw_wm.c > +++ b/src/mesa/drivers/dri/i965/brw_wm.c > @@ -266,6 +266,14 @@ brw_debug_recompile_sampler_key(struct brw_context *brw, > old_key->gl_clamp_mask[2], key->gl_clamp_mask[2]); > found |= key_debug(brw, "gather channel quirk on any texture unit", > old_key->gather_channel_quirk_mask, > key->gather_channel_quirk_mask); > + found |= key_debug(brw, "compressed multisample layout", > + old_key->compressed_multisample_layout_mask, > + key->compressed_multisample_layout_mask); > + > + for (unsigned int i = 0; i < MAX_SAMPLERS; i++) { > + found |= key_debug(brw, "textureGather workarounds", > + old_key->gen6_gather_wa[i], key->gen6_gather_wa[i]); > + } > > return found; > } > -- > 2.3.5 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev