You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
677 B
14 lines
677 B
diff --git a/Source/ThirdParty/ANGLE/src/common/mathutil.h b/Source/ThirdParty/ANGLE/src/common/mathutil.h
|
|
index 8f4579dc5611..4d981d4427bc 100644
|
|
--- a/Source/ThirdParty/ANGLE/src/common/mathutil.h
|
|
+++ b/Source/ThirdParty/ANGLE/src/common/mathutil.h
|
|
@@ -550,7 +550,7 @@ inline R roundToNearest(T input)
|
|
{
|
|
static_assert(std::is_floating_point<T>::value);
|
|
static_assert(std::numeric_limits<R>::is_integer);
|
|
-#if defined(__aarch64__) || defined(_M_ARM64)
|
|
+#if defined(__aarch64__) || defined(_M_ARM64) || defined(__s390x__)
|
|
// On armv8, this expression is compiled to a dedicated round-to-nearest instruction
|
|
return static_cast<R>(std::round(input));
|
|
#else
|