diff options
author | Timothy Arceri <[email protected]> | 2016-11-04 16:41:30 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-06 11:21:42 +1100 |
commit | 7cc61cf706e857e27ea3ce9578b9c480bfbc94a1 (patch) | |
tree | dd9496b3d73fce531bd3512735319a2eb5d125a3 /src/mesa/main/uniforms.c | |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.c')
0 files changed, 0 insertions, 0 deletions