intel: Refactor code in intel_miptree_choose_tiling().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Apr 2013 20:46:10 +0000 (13:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Apr 2013 23:54:31 +0000 (16:54 -0700)
commiteef3dff3fda76a9f42b8f788b720bf7c69a25584
treec99016cc274057ead89f74fbc2e0a3055b662547
parentba38ac062c5b8c80e4d33ee680b86cabbfa19095
intel: Refactor code in intel_miptree_choose_tiling().

This reduces the nesting level slightly, and in my opinion, makes it a
bit easier to follow.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c