hsw hiz: Add new size restrictions for miplevels > 0
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 16 Jul 2013 07:01:05 +0000 (00:01 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 4 Aug 2013 18:52:37 +0000 (11:52 -0700)
commit65290a20f960c72fee086ac7b5042ceb3b61002c
tree6787a32a55e22e7cb350d6af23813702d4d91faf
parente3a49e1ad3a6e35194c9aab8dccce9ee91f3bef5
hsw hiz: Add new size restrictions for miplevels > 0

When performing hiz ops, we must ensure that the region sizes
have an 8 aligned width and 4 aligned height. We can tweak the
size for blorp hiz operations at LOD 0, but for the others we
can't. Therefore, we disable hiz for these miplevels if they
don't meet the size alignment requirements.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c