diff options
| author | 2019-10-15 14:47:42 -0400 | |
|---|---|---|
| committer | 2019-10-15 15:24:50 -0400 | |
| commit | ac4dbd3b25f022b3ef025f6d3451712187308efb (patch) | |
| tree | 0d2b2fac72afd6c8ae91935ff5c1968590bd2d8a /src/video_core | |
| parent | Merge pull request #2965 from FernandoS27/fair-core-timing (diff) | |
| download | yuzu-ac4dbd3b25f022b3ef025f6d3451712187308efb.tar.gz yuzu-ac4dbd3b25f022b3ef025f6d3451712187308efb.tar.xz yuzu-ac4dbd3b25f022b3ef025f6d3451712187308efb.zip | |
common: Rename binary_find.h to algorithm.h
Makes the header more general for other potential algorithms in the
future. While we're at it, include a missing <functional> include to
satisfy the use of std::less.
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/texture_cache/surface_base.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/texture_cache/surface_base.h | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cpp index 683c49207..829268b4c 100644 --- a/src/video_core/texture_cache/surface_base.cpp +++ b/src/video_core/texture_cache/surface_base.cpp | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include "common/algorithm.h" | ||
| 5 | #include "common/assert.h" | 6 | #include "common/assert.h" |
| 6 | #include "common/common_types.h" | 7 | #include "common/common_types.h" |
| 7 | #include "common/microprofile.h" | 8 | #include "common/microprofile.h" |
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index 5e497e49f..1bed82898 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h | |||
| @@ -4,12 +4,11 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <algorithm> | 7 | #include <optional> |
| 8 | #include <tuple> | ||
| 8 | #include <unordered_map> | 9 | #include <unordered_map> |
| 9 | #include <vector> | 10 | #include <vector> |
| 10 | 11 | ||
| 11 | #include "common/assert.h" | ||
| 12 | #include "common/binary_find.h" | ||
| 13 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| 14 | #include "video_core/gpu.h" | 13 | #include "video_core/gpu.h" |
| 15 | #include "video_core/morton.h" | 14 | #include "video_core/morton.h" |