OSDN Git Service

intel: Fix performance regression from miptree blit changes.
authorEric Anholt <eric@anholt.net>
Thu, 30 May 2013 16:43:45 +0000 (09:43 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 3 Jun 2013 20:47:18 +0000 (13:47 -0700)
commitf96de8ad9622d42ce54feedd246967c73d1206cd
tree4debab72d02e573b8c58d5f27f27b4db983de8d2
parent610fe6da7909c96ae8fa85d93ece5c2e5c2d729b
intel: Fix performance regression from miptree blit changes.

When making v2 of da2880bea05bfc87109477ab026a7f5401fc8f0c, I carefully
checked all of the calls in that commit to see that I'd updated them, but
forgot to update the new calls in the later commits such as
.e845c5cf7abce55759501a473459aff3bf25c9ca.  As a result, we were getting Y
tiled temporaries even though the whole point of the temporary was to
untile!

The steady state of the intro scene of lightsmark goes from 13 to 17 fps.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65154
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_tex_subimage.c