intel: Support mapping multisample miptrees
authorChad Versace <chad.versace@linux.intel.com>
Sat, 28 Jul 2012 03:42:31 +0000 (20:42 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 7 Aug 2012 16:30:33 +0000 (09:30 -0700)
commite88cfbb95f631ca1275a5cef4ccc5aaffb70aaba
tree978fdbe7b506ad08c2708a1095eaf5d9b58d45dc
parent4c0ccc13bd3ec149c4a51c4937811894fbe713f0
intel: Support mapping multisample miptrees

Add two new functions: intel_miptree_{map,unmap}_multisample, to which
intel_miptree_{map,unmap} dispatch. Only mapping flat, renderbuffer-like
miptrees are supported.

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.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h