diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-22 23:01:39 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 21:38:36 +0100 |
commit | 1209d428f14ffc6f1c8b6049b0431c30b26138d6 (patch) | |
tree | f1fe11edaaf1230d26e6c42e97b6eb51485973a3 /src/video_core/texture_cache/util.h | |
parent | texture_cache: Use pre-allocated buffer for texture uploads (diff) | |
download | yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar.gz yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar.bz2 yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar.lz yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar.xz yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.tar.zst yuzu-1209d428f14ffc6f1c8b6049b0431c30b26138d6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/util.h b/src/video_core/texture_cache/util.h index ddf0b3b06..2c991b4d2 100644 --- a/src/video_core/texture_cache/util.h +++ b/src/video_core/texture_cache/util.h @@ -77,7 +77,8 @@ void ConvertImage(std::span<const u8> input, const ImageInfo& info, std::span<u8 [[nodiscard]] std::vector<SwizzleParameters> FullUploadSwizzles(const ImageInfo& info); void SwizzleImage(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr, const ImageInfo& info, - std::span<const BufferImageCopy> copies, std::span<const u8> memory); + std::span<const BufferImageCopy> copies, std::span<const u8> memory, + std::vector<u8>& tmp_buffer); [[nodiscard]] bool IsBlockLinearSizeCompatible(const ImageInfo& new_info, const ImageInfo& overlap_info, u32 new_level, |