[Mesa-dev] [PATCH 06/12] i965/gen7+: Implement fast color clear operation in BLORP.

Paul Berry stereotype441 at gmail.com
Thu May 23 12:01:59 PDT 2013


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

> Paul Berry <stereotype441 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130523/a9beebaf/attachment.html>


More information about the mesa-dev mailing list