commit | b6e7222c5b927469801744f8876ddf858923e5f5 | [log] [tgz] |
---|---|---|
author | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Oct 18 23:01:46 2011 +0000 |
committer | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Oct 18 23:01:46 2011 +0000 |
tree | fd3d881754d265de49671e43202f384e7b3cc65b | |
parent | 040c4db30d2905762710d132e20a79ca261eacc3 [diff] |
Avoid iterating over unused samplers. Keep track of the maximum used sampler to avoid expensive iterations in applyTextures and validateSamplers. BUG= TEST=webgl conformance tests Review URL: http://codereview.appspot.com/5246061 git-svn-id: https://angleproject.googlecode.com/svn/trunk@795 736b8ea6-26fd-11df-bfd4-992fa37f6226