On Thu, Sep 04, 2014 at 01:26:45PM -0700, Matt Turner wrote:
> On Tue, Sep 2, 2014 at 9:34 PM, Matt Turner <matts...@gmail.com> wrote:
> > diff --git a/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp 
> > b/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp
> > index 557c3ad..8a7f42a 100644
> > --- a/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp
> > +++ b/src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp
> > @@ -52,20 +52,20 @@ dead_control_flow_eliminate(backend_visitor *v)
> >           continue;
> >
> >        backend_instruction *if_inst = NULL, *else_inst = NULL;
> > -      backend_instruction *prev_inst = ((bblock_t 
> > *)endif_block->link.prev)->end();
> > +      backend_instruction *prev_inst = endif_block->next()->end();
> 
> This is obviously supposed to be ->prev(), not ->next(). Fixed locally.

With that patches 19 and 20 are:

Reviewed-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to