intel: Allocate hiz in intel_renderbuffer_move_to_temp()
authorChad Versace <chad.versace@linux.intel.com>
Fri, 5 Apr 2013 22:18:00 +0000 (15:18 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 8 Apr 2013 23:09:26 +0000 (16:09 -0700)
commitaa391976dfa12479185d9eeed1f2a0b4dce6c49b
treeca8804a56a34961062c160e5bf9208dcc86271ac
parentd0bf48f8e99ccb4a6ab2b963e6a88e104e7ae5d8
intel: Allocate hiz in intel_renderbuffer_move_to_temp()

When moving the renderbuffer to a new miptree, we neglected to allocate
the hiz buffer for the new miptree. Oops.

Fixes all Piglit depthstencil-render-miplevels tests from crash to pass on
Sandybridge.

Note: This is a candidate for the 9.1 branch.
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c