Fix an improper usage of getCols, which should be getNominalSize, in unsigned int vector code.
TRAC #23263
Signed-off-by: Shannon Woods
Author: Jamie Madill
diff --git a/src/compiler/VariableInfo.cpp b/src/compiler/VariableInfo.cpp
index 8976f83..9f7ebc7 100644
--- a/src/compiler/VariableInfo.cpp
+++ b/src/compiler/VariableInfo.cpp
@@ -73,7 +73,7 @@
if (type.isMatrix()) {
UNREACHABLE();
} else if (type.isVector()) {
- switch (type.getCols()) {
+ switch (type.getNominalSize()) {
case 2: return SH_UNSIGNED_INT_VEC2;
case 3: return SH_UNSIGNED_INT_VEC3;
case 4: return SH_UNSIGNED_INT_VEC4;