summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-01-31 23:41:29 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-02-01 01:47:28 +0100
commit8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de (patch)
tree5bbbdf9b9e67a8374c9b19cb2166d817abe60a9b /src/video_core/renderer_vulkan
parentGPU: Improve syncing. (diff)
downloadyuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.gz
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.bz2
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.lz
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.xz
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.zst
yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 65c5fd63f..2227d9197 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -548,8 +548,8 @@ Tegra::Engines::AccelerateDMAInterface& RasterizerVulkan::AccessAccelerateDMA()
return accelerate_dma;
}
-void RasterizerVulkan::AccelerateInline2Memory(GPUVAddr address, size_t copy_size,
- std::span<u8> memory) {
+void RasterizerVulkan::AccelerateInlineToMemory(GPUVAddr address, size_t copy_size,
+ std::span<u8> memory) {
auto cpu_addr = gpu_memory.GpuToCpuAddress(address);
if (!cpu_addr) [[unlikely]] {
gpu_memory.WriteBlock(address, memory.data(), copy_size);
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h
index bbd79aae4..5af2e275b 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.h
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h
@@ -99,7 +99,8 @@ public:
const Tegra::Engines::Fermi2D::Surface& dst,
const Tegra::Engines::Fermi2D::Config& copy_config) override;
Tegra::Engines::AccelerateDMAInterface& AccessAccelerateDMA() override;
- void AccelerateInline2Memory(GPUVAddr address, size_t copy_size, std::span<u8> memory) override;
+ void AccelerateInlineToMemory(GPUVAddr address, size_t copy_size,
+ std::span<u8> memory) override;
bool AccelerateDisplay(const Tegra::FramebufferConfig& config, VAddr framebuffer_addr,
u32 pixel_stride) override;
void LoadDiskResources(u64 title_id, std::stop_token stop_loading,