Re: [Mesa-dev] [PATCH] i965: Fix num_uniforms count for scalar GS.

2015-11-20 Thread Jason Ekstrand
On Fri, Nov 20, 2015 at 2:01 PM, Kenneth Graunke wrote: > I noticed that brw_vs.c does this. > > I believe the point is that nir->num_uniforms is either counted in > scalar components (in scalar mode), or vec4 slots (in vector mode). > But we want param_count to be in scalar components regardless,

[Mesa-dev] [PATCH] i965: Fix num_uniforms count for scalar GS.

2015-11-20 Thread Kenneth Graunke
I noticed that brw_vs.c does this. I believe the point is that nir->num_uniforms is either counted in scalar components (in scalar mode), or vec4 slots (in vector mode). But we want param_count to be in scalar components regardless, so we have to scale up in vector mode. We don't have to scale up