Re: [Mesa-dev] [PATCH 03/18] mesa: Optimize unbind_texobj_from_texunits()

2014-01-22 Thread Brian Paul
On 01/21/2014 03:35 PM, Fredrik Höglund wrote: The texture can only be bound to the index that corresponds to its target, so there is no need to loop over all possible indices for every unit and checking if the texture is bound to it. --- src/mesa/main/texobj.c | 20 ++-- 1 f

[Mesa-dev] [PATCH 03/18] mesa: Optimize unbind_texobj_from_texunits()

2014-01-21 Thread Fredrik Höglund
The texture can only be bound to the index that corresponds to its target, so there is no need to loop over all possible indices for every unit and checking if the texture is bound to it. --- src/mesa/main/texobj.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) dif