i965/miptree: Remove the width/height < 32768 restrictions
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 24 Oct 2016 22:02:41 +0000 (15:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 27 Oct 2016 21:44:59 +0000 (14:44 -0700)
commit44760c100c3793718cc8d6cfb66852c4f72d7057
tree02069602f5f105c977141889e9546b708e48e524
parent80d3af812935978f01c9bb6d02102140383c4034
i965/miptree: Remove the width/height < 32768 restrictions

These restrictions existed because intel_miptree_blit couldn't handle
surfaces bigger than 32k.  How that we're chopping blits up into chunks, it
can handle any size we throw at it so we can get rid of this restriction.
This improves the terrain tests in synmark by 25-30% on my Sky Lake gt3.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reported-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c