Fix an incorrect instance of getCols which should be getNominalSize.
TRAC #23263
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
diff --git a/src/compiler/OutputHLSL.cpp b/src/compiler/OutputHLSL.cpp
index 4e9bfab..eb9f597 100644
--- a/src/compiler/OutputHLSL.cpp
+++ b/src/compiler/OutputHLSL.cpp
@@ -1858,7 +1858,7 @@
case EOpConvFloatToUInt:
case EOpConvBoolToUInt:
case EOpConvIntToUInt:
- switch (node->getOperand()->getType().getCols())
+ switch (node->getOperand()->getType().getNominalSize())
{
case 1: outputTriplet(visit, "uint(", "", ")"); break;
case 2: outputTriplet(visit, "uint2(", "", ")"); break;