texture_cache: Use pre-allocated buffer for texture uploads

This commit is contained in:
ameerj 2022-12-22 16:52:53 -05:00
parent 1240408f75
commit 204e35087f
4 changed files with 28 additions and 13 deletions

View file

@ -59,6 +59,7 @@ struct OverlapResult {
[[nodiscard]] std::vector<BufferImageCopy> UnswizzleImage(Tegra::MemoryManager& gpu_memory,
GPUVAddr gpu_addr, const ImageInfo& info,
std::span<const u8> input,
std::span<u8> output);
[[nodiscard]] BufferCopy UploadBufferCopy(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr,