i965/miptree/isl: Stop multiplying depth by 6 for cubes
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jul 2016 15:22:53 +0000 (08:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jul 2016 14:58:44 +0000 (07:58 -0700)
commit833e389bc00eae419efe4494c297c6c20a89210b
treef4ba401364f4b63f33606bdd067334b15311546c
parentd16dc8e9638e35f77972e697f39b1ddb7c675c56
i965/miptree/isl: Stop multiplying depth by 6 for cubes

Now that the logical_depth0 field is in number of 2D slices, we don't need
to be multiplying by 6 when creating the surface.  It wasn't hurting
anything primarily because we get the actual length from the view which was
already handling it correctly.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c