i965/gen7 renderbuffer: Set depth size based on LOD0 for 3D textures
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 10 May 2014 21:48:47 +0000 (14:48 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 13 May 2014 21:25:57 +0000 (14:25 -0700)
commitb875f39e2967fa383e2c896bc354429fe10cd7a5
treef4fe6dd787006efa00124327179d14e58d63e2ac
parent521ee86db7cb58dbd592107a1b37388d95b8c61c
i965/gen7 renderbuffer: Set depth size based on LOD0 for 3D textures

If blorp is disabled for color clears, then piglit's
'gl-3.2-layered-rendering-clear-color-all-types 3d mipmapped'
will fail.

Currently, gen8 fails similarly on this test because gen8
does not use blorp.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c