Re: [Mesa-dev] [PATCH v4 05/12] i965: Put CS local thread ID uniform in last push register

2016-06-01 Thread Jason Ekstrand
On Wed, Jun 1, 2016 at 3:04 PM, Jordan Justen wrote: > This thread ID uniform will be used to compute the > gl_LocalInvocationIndex and gl_LocalInvocationID values. > > It is important for this uniform to be added in the last push constant > register.

[Mesa-dev] [PATCH v4 05/12] i965: Put CS local thread ID uniform in last push register

2016-06-01 Thread Jordan Justen
This thread ID uniform will be used to compute the gl_LocalInvocationIndex and gl_LocalInvocationID values. It is important for this uniform to be added in the last push constant register. fs_visitor::assign_constant_locations is updated to make sure this happens. The reason this is important is