Chad Versace <chad.vers...@linux.intel.com> writes: > Move the body of intel_miptree_map into a new function, > intel_miptree_map_singlesample. Now intel_miptree_map dispatches to the > new function. A future commit adds a multisample variant. > > Ditto for intel_miptree_unmap. > > CC: Paul Berry <stereotype...@gmail.com> > CC: Eric Anholt <e...@anholt.net> > Signed-off-by: Chad Versace <chad.vers...@linux.intel.com> > --- > src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 67 > +++++++++++++++++++------- > 1 file changed, 50 insertions(+), 17 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > index b424e4d..2a00c78 100644 > --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c > +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> + assert(mt->num_samples == 0); <= 1 > + assert(mt->num_samples == 0); <= 1 Other than that, patches up to this one are: Reviewed-by: Eric Anholt <e...@anholt.net>
pgpIfbZo23FdG.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev