Re: [Mesa-dev] [PATCH 10/23] i965/vs: Simplify fs_visitor's ATTR file.

2015-09-30 Thread Matt Turner
On Wed, Sep 30, 2015 at 12:58 AM, Kenneth Graunke wrote: > Previously, ATTR was indexed by VERT_ATTRIB_* slots; at the end of > compilation, assign_vs_urb_setup() translated those into GRF units, > and converted ATTR to HW_REGs. > > This patch moves the transslation earlier, making ATTR work in te

[Mesa-dev] [PATCH 10/23] i965/vs: Simplify fs_visitor's ATTR file.

2015-09-30 Thread Kenneth Graunke
Previously, ATTR was indexed by VERT_ATTRIB_* slots; at the end of compilation, assign_vs_urb_setup() translated those into GRF units, and converted ATTR to HW_REGs. This patch moves the transslation earlier, making ATTR work in terms of GRF units from the beginning. assign_vs_urb_setup() simply