[Mesa-dev] [PATCH] mesa/glsl: introduce a remap table for uniform locations

Tapani Pälli tapani.palli at intel.com
Mon Mar 10 00:36:17 PDT 2014


On 03/07/2014 04:05 PM, Ian Romanick wrote:
> On 03/07/2014 12:55 PM, Tapani Pälli wrote:
>> Patch adds a remap table for uniforms that is used to provide a mapping
>> from application specified uniform location to actual location in the
>> UniformStorage. Existing UniformLocationBaseScale usage is removed as
>> table can be used to set sequential values for array uniform elements.
>>
>> This mapping helps to implement GL_ARB_explicit_uniform_location so that
>> uniforms locations can be reorganized and handled in a more easy manner.
>>
>> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> A couple minor comments below.  With those fixed, this patch is
>
> Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

Thanks for the review, I will change the parameter names for the merge 
and split functions and make other minor corrections.

// Tapani


More information about the mesa-dev mailing list