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,
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