Chad Versace <[email protected]> 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 <[email protected]> > CC: Eric Anholt <[email protected]> > Signed-off-by: Chad Versace <[email protected]> > --- > 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 <[email protected]>
pgpIfbZo23FdG.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
