commit | 5051eee5768ffcdf4dd01924794399bb71270f17 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Mar 23 01:35:01 2016 +0000 |
committer | Corentin Wallez <cwallez@chromium.org> | Wed Mar 23 01:35:09 2016 +0000 |
tree | 152ffaa53b768cdf738c5df11f8aea47d0d78f56 | |
parent | 3ea54ba890f25fcce9213d8ab7c7f8a9fdf10cad [diff] [blame] |
Revert "Program::getUniformInternal: return only one array element" It breaks compilation on GPU Builder This reverts commit 3ea54ba890f25fcce9213d8ab7c7f8a9fdf10cad. Change-Id: Ie18f876b1db353d75cbd5a612f0a433cfc552ef2 Reviewed-on: https://chromium-review.googlesource.com/334405 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/Program.cpp b/src/libANGLE/Program.cpp index b4aa8dc..bd16fd9 100644 --- a/src/libANGLE/Program.cpp +++ b/src/libANGLE/Program.cpp
@@ -2508,7 +2508,7 @@ return; } - int components = VariableComponentCount(uniform.type); + int components = VariableComponentCount(uniform.type) * uniform.elementCount(); switch (componentType) {