Fixed bad assert

UInt <-> Int conversions are noop (bitwise), so it's allowed
to simply perform a move operation in that case.

Change-Id: I2078b2cf2933f5ced25b8ea81933e543a017faaf
Reviewed-on: https://swiftshader-review.googlesource.com/5143
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/compiler/OutputASM.cpp b/src/OpenGL/compiler/OutputASM.cpp
index 6fed93f..71d2442 100644
--- a/src/OpenGL/compiler/OutputASM.cpp
+++ b/src/OpenGL/compiler/OutputASM.cpp
@@ -1841,7 +1841,9 @@
 			break;

 		}

 

-		ASSERT(src->getBasicType() == dst->getBasicType());

+		ASSERT((src->getBasicType() == dst->getBasicType()) ||

+		      ((src->getBasicType() == EbtInt) && (dst->getBasicType() == EbtUInt)) ||

+		      ((src->getBasicType() == EbtUInt) && (dst->getBasicType() == EbtInt)));

 

 		return emit(sw::Shader::OPCODE_MOV, dst, dstIndex, src, srcIndex);

 	}