i965: Update comments about Z16 being slow.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Apr 2014 21:15:49 +0000 (14:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Apr 2014 09:15:11 +0000 (02:15 -0700)
commitbe000b4d1911d2d520ec7b2366403d2ae3cf8bdc
tree889e7d742d5259457f90ad0b2e77b456cdf59b8f
parent313104e8d58002ad00d297e1b229ecd984d79298
i965: Update comments about Z16 being slow.

We've learned a few things since we originally disabled Z16; this attempts
to summarize the issue.  I am no expert on this subject, though, so the
comment may not be totally accurate.

I did some benchmarking on GM45 and Ironlake, and discovered that for
GLBenchmark 2.7 EgyptHD, using Z16 was 3% slower on GM45 (n=15), and
4.5% slower on Ironlake (n=95).  So, we can drop the "on Ivybridge"
aspect of the comment - it's always slower.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chia-I Wu <olv@lunarg.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c