Re: [Mesa-dev] [PATCH] glsl: split ssbo array copies into element copies

2015-11-23 Thread Iago Toral
On Fri, 2015-11-20 at 11:09 -0800, Jordan Justen wrote: > On 2015-11-20 06:48:27, Iago Toral Quiroga wrote: > > Improves register pressure, since otherwise we end up emitting > > loads for all the elements in the RHS and them emitting > > stores for all elements in the LHS. > > > > Fixes the

[Mesa-dev] [PATCH] glsl: split ssbo array copies into element copies

2015-11-20 Thread Iago Toral Quiroga
Improves register pressure, since otherwise we end up emitting loads for all the elements in the RHS and them emitting stores for all elements in the LHS. Fixes the following piglit test: tests/spec/arb_shader_storage_buffer_object/execution/large-field-copy.shader_test --- Jordan, this fixes

Re: [Mesa-dev] [PATCH] glsl: split ssbo array copies into element copies

2015-11-20 Thread Jordan Justen
On 2015-11-20 06:48:27, Iago Toral Quiroga wrote: > Improves register pressure, since otherwise we end up emitting > loads for all the elements in the RHS and them emitting > stores for all elements in the LHS. > > Fixes the following piglit test: >