intel: Define intel_miptree_check_level_layer()
authorChad Versace <chad.versace@linux.intel.com>
Thu, 17 Nov 2011 06:42:44 +0000 (22:42 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 18:35:42 +0000 (10:35 -0800)
commit73540690f71280a2bdda51b45203fd4ed43a1760
treeaf8f453dd8d0d791a29f99beb30b2b899c0db5ad
parent3b38b33c1648b07e75dc4d8340758171e109c598
intel: Define intel_miptree_check_level_layer()

This is a small helper function that asserts that a given level and layer
are valid for a miptree. I will be extensively using it in the future
miptree HiZ functions.

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