OSDN Git Service

i965/miptree: Stop multiplying cube depth by 6 in HiZ calculations
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jul 2016 15:24:15 +0000 (08:24 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jul 2016 14:58:44 +0000 (07:58 -0700)
commit5d76690f170de9acc541aa6b4a507ccd20a78158
tree124b9a5ecfd95f843e7df6fad2d1249d1609990d
parent833e389bc00eae419efe4494c297c6c20a89210b
i965/miptree: Stop multiplying cube depth by 6 in HiZ calculations

intel_mipmap_tree::logical_depth0 is now in number of 2D slices so we no
longer need to be multiplying by 6.

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