summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/types.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-16 06:32:37 +0200
committerGitHub <noreply@github.com>2021-05-16 06:32:37 +0200
commita1138028a82d61f2cad2305686bf720966fabef9 (patch)
treeccb610c430c6e99a8a87c088d54c46d032b4fe88 /src/video_core/texture_cache/types.h
parentMerge pull request #6244 from german77/sdlmotion (diff)
parenttexture_cache: Handle out of bound texture blits (diff)
downloadyuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar.gz
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar.bz2
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar.lz
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar.xz
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.tar.zst
yuzu-a1138028a82d61f2cad2305686bf720966fabef9.zip
Diffstat (limited to 'src/video_core/texture_cache/types.h')
-rw-r--r--src/video_core/texture_cache/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/types.h b/src/video_core/texture_cache/types.h
index 2ad2d72a6..c9571f7e4 100644
--- a/src/video_core/texture_cache/types.h
+++ b/src/video_core/texture_cache/types.h
@@ -64,6 +64,13 @@ struct Offset3D {
s32 z;
};
+struct Region2D {
+ constexpr auto operator<=>(const Region2D&) const noexcept = default;
+
+ Offset2D start;
+ Offset2D end;
+};
+
struct Extent2D {
constexpr auto operator<=>(const Extent2D&) const noexcept = default;