[Mesa-dev] [RFC] i965/fs: Generalize grf127 hack to dispatch_width >

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Wed Jul 11 17:32:13 UTC 2018


> > diff --git a/src/intel/compiler/brw_fs_reg_allocate.cpp
> > b/src/intel/compiler/brw_fs_reg_allocate.cpp
> > index 59e047483c0..417ddeba09c 100644
> > --- a/src/intel/compiler/brw_fs_reg_allocate.cpp
> > +++ b/src/intel/compiler/brw_fs_reg_allocate.cpp
> > @@ -549,7 +549,7 @@ fs_visitor::assign_regs(bool allow_spilling, bool
> > spill_all)
> >    if (devinfo->gen >= 7)
> >       node_count += BRW_MAX_GRF - GEN7_MRF_HACK_START;
> >    int grf127_send_hack_node = node_count;
> > -   if (devinfo->gen >= 8 && dispatch_width == 8)
> > +   if (devinfo->gen >= 8 && dispatch_width >= 8)
> 
> dispatch_width is always >= 8.

Yes, I was so focused on the other bits that completely messed up
this one. 


Thanks,
Caio


More information about the mesa-dev mailing list