Re: [Mesa-dev] [PATCH] i965: Respect stride and subreg_offset for ATTR registers

2015-09-23 Thread Jason Ekstrand
On Wed, Sep 23, 2015 at 5:29 PM, Matt Turner wrote: > On Wed, Sep 23, 2015 at 5:25 PM, Jason Ekstrand wrote: >> On Wed, Sep 23, 2015 at 5:11 PM, Kristian Høgsberg Kristensen >> wrote: >>> When we assign hw regs to attributes, we don't incorporate the stride >>> and subreg_offset from the fs_reg.

Re: [Mesa-dev] [PATCH] i965: Respect stride and subreg_offset for ATTR registers

2015-09-23 Thread Matt Turner
On Wed, Sep 23, 2015 at 5:25 PM, Jason Ekstrand wrote: > On Wed, Sep 23, 2015 at 5:11 PM, Kristian Høgsberg Kristensen > wrote: >> When we assign hw regs to attributes, we don't incorporate the stride >> and subreg_offset from the fs_reg. It's rarely used, but the integer >> multiplication loweri

Re: [Mesa-dev] [PATCH] i965: Respect stride and subreg_offset for ATTR registers

2015-09-23 Thread Jason Ekstrand
On Wed, Sep 23, 2015 at 5:11 PM, Kristian Høgsberg Kristensen wrote: > When we assign hw regs to attributes, we don't incorporate the stride > and subreg_offset from the fs_reg. It's rarely used, but the integer > multiplication lowering uses unusual stride and subreg_offset > combination breaks w

Re: [Mesa-dev] [PATCH] i965: Respect stride and subreg_offset for ATTR registers

2015-09-23 Thread Matt Turner
On Wed, Sep 23, 2015 at 5:11 PM, Kristian Høgsberg Kristensen wrote: > When we assign hw regs to attributes, we don't incorporate the stride > and subreg_offset from the fs_reg. It's rarely used, but the integer > multiplication lowering uses unusual stride and subreg_offset > combination breaks w

[Mesa-dev] [PATCH] i965: Respect stride and subreg_offset for ATTR registers

2015-09-23 Thread Kristian Høgsberg Kristensen
When we assign hw regs to attributes, we don't incorporate the stride and subreg_offset from the fs_reg. It's rarely used, but the integer multiplication lowering uses unusual stride and subreg_offset combination breaks when one source is an attribute. Bugzilla: https://bugs.freedesktop.org/show_b