intel: Temporarily disable HiZ for textures
authorChad Versace <chad.versace@linux.intel.com>
Mon, 14 Nov 2011 07:02:04 +0000 (23:02 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 00:58:31 +0000 (16:58 -0800)
commit7e9b3c098c58af49a809afbc17d508f23eab21c2
treef2d1d2d4625ec78ae034c0a2ef5fd61811821077
parent190aec75a4362b56b9b311975a777c56e8e6c67d
intel: Temporarily disable HiZ for textures

A great refactor thrashing begins after this commit for HiZ and separate
stencil.  Removing code for texture HiZ will make that refactoring easier,
because then we don't have to maintain that code during the refactor.

To disable HiZ for textures, I've removed the hook in
intel_update_wrapper() that allocates a HiZ buffer when attaching a depth
texture to a framebuffer.

HiZ was broken for textures anyway, so there's no regression here.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c