On Fri, Jul 31, 2015 at 10:05 AM, Jason Ekstrand <ja...@jlekstrand.net> wrote: > --- > src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp > b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp > index 211f70e..512da22 100644 > --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp > +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp > @@ -79,6 +79,15 @@ brw_alloc_reg_set(struct brw_compiler *compiler, int > dispatch_width) > int base_reg_count = BRW_MAX_GRF; > int index = (dispatch_width / 8) - 1; > > + if (dispatch_width > 8 && devinfo->gen >= 7) { > + /* For IVB+, we don't need the PLN hacks or the 2-reg alignment in
s/2-reg /even-/ (to match the PRM) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev