Commit a16f1679 by Jamie Madill Committed by Shannon Woods

Fix an incorrect instance of getCols which should be getNominalSize.

TRAC #23263 Signed-off-by: Shannon Woods Authored-by: Jamie Madill
parent d8db866a
...@@ -1858,7 +1858,7 @@ bool OutputHLSL::visitUnary(Visit visit, TIntermUnary *node) ...@@ -1858,7 +1858,7 @@ bool OutputHLSL::visitUnary(Visit visit, TIntermUnary *node)
case EOpConvFloatToUInt: case EOpConvFloatToUInt:
case EOpConvBoolToUInt: case EOpConvBoolToUInt:
case EOpConvIntToUInt: case EOpConvIntToUInt:
switch (node->getOperand()->getType().getCols()) switch (node->getOperand()->getType().getNominalSize())
{ {
case 1: outputTriplet(visit, "uint(", "", ")"); break; case 1: outputTriplet(visit, "uint(", "", ")"); break;
case 2: outputTriplet(visit, "uint2(", "", ")"); break; case 2: outputTriplet(visit, "uint2(", "", ")"); break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment