commit | 7cc61cf706e857e27ea3ce9578b9c480bfbc94a1 | [log] [tgz] |
---|---|---|
author | Timothy Arceri <timothy.arceri@collabora.com> | Fri Nov 04 16:41:30 2016 +1100 |
committer | Timothy Arceri <timothy.arceri@collabora.com> | Fri Jan 06 11:21:42 2017 +1100 |
tree | dd9496b3d73fce531bd3512735319a2eb5d125a3 | |
parent | 4807a83da0e0f5e3272e85504ee3b2213ef1910a [diff] |
mesa: simplify sampler setting code There is no need to loop over active samplers the code above this would have already exited if the sampler was inactive, or errored if the count was larger than the uniforms array size. Reviewed-by: Eric Anholt <eric@anholt.net>