diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-08 04:14:21 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-08 04:14:21 +0200 |
commit | 3671fd0a97351c1e5b2ea691d85ab45d5f83288e (patch) | |
tree | a4723be2513e3d5dbd7de423c865c2ff78c06843 /src/video_core/texture_cache/types.h | |
parent | Merge pull request #6279 from ogniK5377/nvhost-prof (diff) | |
download | yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.gz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.bz2 yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.lz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.xz yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.tar.zst yuzu-3671fd0a97351c1e5b2ea691d85ab45d5f83288e.zip |
Diffstat (limited to 'src/video_core/texture_cache/types.h')
-rw-r--r-- | src/video_core/texture_cache/types.h | 7 |
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; |