Patchset LGTM, pushed, thanks.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Ruiling Song > Sent: Monday, September 21, 2015 15:40 > To: [email protected] > Cc: Song, Ruiling > Subject: [Beignet] [PATCH 2/2] GBE: Minor refine uw1grf(nr, subnr). > > let's just keep things simple. > > Signed-off-by: Ruiling Song <[email protected]> > --- > backend/src/backend/gen_register.hpp | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/backend/src/backend/gen_register.hpp > b/backend/src/backend/gen_register.hpp > index db16273..a15fd60 100644 > --- a/backend/src/backend/gen_register.hpp > +++ b/backend/src/backend/gen_register.hpp > @@ -995,7 +995,13 @@ namespace gbe > } > > static INLINE GenRegister uw1(uint32_t file, uint32_t nr, uint32_t > subnr) { > - return offset(retype(vec1(file, nr, 0), GEN_TYPE_UW), 0, > typeSize(GEN_TYPE_UW)*subnr); > + return GenRegister(file, > + nr, > + subnr, > + GEN_TYPE_UW, > + GEN_VERTICAL_STRIDE_0, > + GEN_WIDTH_1, > + GEN_HORIZONTAL_STRIDE_0); > } > > static INLINE GenRegister ub16(uint32_t file, uint32_t nr, uint32_t > subnr) { > -- > 2.3.1 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
