On 11/21/2011 11:51 AM, Ian Romanick wrote:
> From: Ian Romanick <[email protected]>
> 
> The old count_uniform_size::num_shader_uniforms was actually
> calculating the number of components used.  Multiplying by 4 when
> setting gl_shader::num_uniform_components caused us to count 4x as
> many uniform components as were actually used.

Yes, this looks correct.  Also seems to fix crashes in Civilization 4.

Reviewed-and-tested-by: Kenneth Graunke <[email protected]>

Thanks, Ian.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to