i965: Add gen8 fast clear perf debug
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 5 Jun 2015 06:59:23 +0000 (23:59 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 5 Jun 2015 21:25:47 +0000 (14:25 -0700)
commitb639ed2f1b170d1184c6d94c88c826c51ffc8726
tree29885b25dde62294ba97d2a5528b3d926bbee03d
parent77a44512d9ed56be5e53ebf09e917b5aeeba0189
i965: Add gen8 fast clear perf debug

In an ideal world I would just implement this instead of adding the perf debug.
There are some errata involved which lead me to believe it won't be so simple as
flipping a few bits.

There is room to add a thing for Gen9s flexibility, but since I am actively
working on that I have opted to ignore it.

Example:
Multi-LOD fast clear - giving up (256x128x8).

v2: Use braces for if statements because they are multiple lines (Ken)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c