Re: [Mesa-dev] [PATCH v2 20/21] i965: Setup glsl uniforms by index rather than name matching

2018-06-19 Thread Timothy Arceri
Reviewed-by: Timothy Arceri On 12/05/18 19:40, Alejandro Piñeiro wrote: From: Neil Roberts Previously when setting up a uniform it would try to walk the uniform storage slots and find one that matches the name of the given variable. However, each variable already has a location which is an in

[Mesa-dev] [PATCH v2 20/21] i965: Setup glsl uniforms by index rather than name matching

2018-05-12 Thread Alejandro Piñeiro
From: Neil Roberts Previously when setting up a uniform it would try to walk the uniform storage slots and find one that matches the name of the given variable. However, each variable already has a location which is an index into the UniformStorage array so we can just directly jump to the right