Optimize texture application in draw calls.
Gather all bound textures and samplers first and then pass them to
generateSwizzles and applyTextures to reduce redundant get calls.
BUG=260069
Change-Id: I5b10dddb01a6bfd756c58b76218838cfc1fd59b6
Reviewed-on: https://chromium-review.googlesource.com/199343Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Tested-by:
Geoff Lang <geofflang@chromium.org>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment