i965: consider a 'base level' when calculating width0, height0, depth0
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Tue, 2 Oct 2018 16:16:01 +0000 (19:16 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Feb 2019 05:40:50 +0000 (21:40 -0800)
commit2b7d5c32178d93695a8a7a9bf6509933ab7c1002
tree6fa64aef98de45a2f4b6899e26c16c5d6df0b7f0
parent26aa460940f6222565ad5eb40a21c2377c59c3a6
i965: consider a 'base level' when calculating width0, height0, depth0

I guess that when we calculating the width0, height0, depth0
to use for function 'intel_miptree_create' we need to consider
the 'base level' like it is done in the 'intel_miptree_create_for_teximage'
function.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107987
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_tex_validate.c