Move the storage for uniform blocks to its own class.

With dynamic shaders we may have multiple shader executables per
program binary. We must store the uniforms outside the executable,
in the program binary, to be consistent between variations.

Change-Id: I1bec83dfb83ee9bb422448b157338a46e8e7ba56
Reviewed-on: https://chromium-review.googlesource.com/183585
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
4 files changed