Re: [Mesa-dev] [PATCH 08/11] i965/vec4: Use the uniform count from nir_assign_var_locations

2015-10-02 Thread Iago Toral
On Wed, 2015-09-30 at 18:41 -0700, Jason Ekstrand wrote: > Previously, we were counting up uniforms as we set them up. However, this > count should be exactly identical to shader->num_uniforms provided by > nir_assign_var_locations. (If it's not, we're in trouble anyway because > that means that

Re: [Mesa-dev] [PATCH 08/11] i965/vec4: Use the uniform count from nir_assign_var_locations

2015-10-02 Thread Jason Ekstrand
On Fri, Oct 2, 2015 at 2:09 AM, Iago Toral wrote: > On Wed, 2015-09-30 at 18:41 -0700, Jason Ekstrand wrote: >> Previously, we were counting up uniforms as we set them up. However, this >> count should be exactly identical to shader->num_uniforms provided by >>

[Mesa-dev] [PATCH 08/11] i965/vec4: Use the uniform count from nir_assign_var_locations

2015-09-30 Thread Jason Ekstrand
Previously, we were counting up uniforms as we set them up. However, this count should be exactly identical to shader->num_uniforms provided by nir_assign_var_locations. (If it's not, we're in trouble anyway because that means that locations don't match up.) This matches what the fs backend is