summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-07-06 22:23:10 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-07-09 22:20:36 +0200
commit63915bf2de3358029cb5e904f51f6b147b64bfa1 (patch)
tree590fda8b8ef117ac71499443bb89dfd031d271c9 /src/video_core/renderer_vulkan
parentVideocore: Address Feedback & CLANG Format. (diff)
downloadyuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.gz
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.bz2
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.lz
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.xz
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.zst
yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp7
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index bd4d649cc..687c13009 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -580,6 +580,13 @@ void RasterizerVulkan::SignalSyncPoint(u32 value) {
fence_manager.SignalSyncPoint(value);
}
+void RasterizerVulkan::SignalReference() {
+ if (!gpu.IsAsync()) {
+ return;
+ }
+ fence_manager.SignalReference();
+}
+
void RasterizerVulkan::ReleaseFences() {
if (!gpu.IsAsync()) {
return;
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h
index 41459c5c5..5450ccfb5 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.h
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h
@@ -75,6 +75,7 @@ public:
void ModifyGPUMemory(GPUVAddr addr, u64 size) override;
void SignalSemaphore(GPUVAddr addr, u32 value) override;
void SignalSyncPoint(u32 value) override;
+ void SignalReference() override;
void ReleaseFences() override;
void FlushAndInvalidateRegion(VAddr addr, u64 size) override;
void WaitForIdle() override;