diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-05-07 01:18:41 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-05-07 02:56:32 -0400 |
| commit | 86018b503b51d32ea67b6e6978ba52fce36fc175 (patch) | |
| tree | 84354d2e463360e8d7a64fd8c23d4f29d6c9f974 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | 756ef54ab6e72e30fcd01a7e4b9cce5c4a69e047 (diff) | |
Common: Move floating-point utility functions to FloatUtils.h/.cpp
Keeps all of the floating-point utility functions in their own file to
keep them all together. This also provides a place for other
general-purpose floating-point functions to be added in the future,
which will be necessary when improving the flag-setting within the
interpreter.
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
| -rw-r--r-- | Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp index 54df13351a..6ba3c4c464 100644 --- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp +++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp @@ -11,7 +11,7 @@ #include <gtest/gtest.h> // NOLINT #include "Common/Common.h" -#include "Common/MathUtil.h" +#include "Common/FloatUtils.h" #include "VideoCommon/CPMemory.h" #include "VideoCommon/DataReader.h" #include "VideoCommon/OpcodeDecoding.h" @@ -75,7 +75,7 @@ protected: void ExpectOut(float val) { // Read unswapped. - MathUtil::IntFloat expected(val), actual(m_dst.Read<float, false>()); + Common::IntFloat expected(val), actual(m_dst.Read<float, false>()); if (!actual.f || actual.f != actual.f) EXPECT_EQ(expected.i, actual.i); else |
