diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-08 02:28:31 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 03d10ea3b420c923c14a11c86b47e2f00bc30e00 (patch) | |
tree | c91e72f41edadac641a0b2609c05fbdf436ee6d5 /src/video_core/texture_cache/copy_params.h | |
parent | Correct Mipmaps View method in Texture Cache (diff) | |
download | yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar.gz yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar.bz2 yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar.lz yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar.xz yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.tar.zst yuzu-03d10ea3b420c923c14a11c86b47e2f00bc30e00.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/copy_params.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/copy_params.h b/src/video_core/texture_cache/copy_params.h index 75c2b1f05..8cf010142 100644 --- a/src/video_core/texture_cache/copy_params.h +++ b/src/video_core/texture_cache/copy_params.h @@ -9,6 +9,16 @@ namespace VideoCommon { struct CopyParams { + CopyParams(u32 source_x, u32 source_y, u32 source_z, u32 dest_x, u32 dest_y, u32 dest_z, + u32 source_level, u32 dest_level, u32 width, u32 height, u32 depth) + : source_x{source_x}, source_y{source_y}, source_z{source_z}, dest_x{dest_x}, + dest_y{dest_y}, dest_z{dest_z}, source_level{source_level}, + dest_level{dest_level}, width{width}, height{height}, depth{depth} {} + + CopyParams(u32 width, u32 height, u32 depth, u32 level) + : source_x{}, source_y{}, source_z{}, dest_x{}, dest_y{}, dest_z{}, source_level{level}, + dest_level{level}, width{width}, height{height}, depth{depth} {} + u32 source_x; u32 source_y; u32 source_z; |