On 22 May 2013 16:32, Eric Anholt <e...@anholt.net> wrote:

> Paul Berry <stereotype...@gmail.com> writes:
> > diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> > index 9d1b91a..657532f 100644
> > --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> > +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> > @@ -1163,6 +1163,53 @@ intel_miptree_alloc_mcs(struct intel_context
> *intel,
> >  #endif
> >  }
> >
> > +
> > +bool
> > +intel_miptree_alloc_non_msrt_mcs(struct intel_context *intel,
> > +                                 struct intel_mipmap_tree *mt)
> > +{
> > +#ifdef I915
> > +   assert(!"MCS not supported on i915");
> > +#else
>
> New build warning in i915:
>
> intel_mipmap_tree.c: In function 'intel_miptree_alloc_non_msrt_mcs':
> intel_mipmap_tree.c:1230:1: warning: control reaches end of non-void
> function [-Wreturn-type]
>

Whoops, you're right.  I didn't notice because I was doing a debug build.
Thanks.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to