summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-01 19:26:43 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-06-01 19:26:58 +0200
commit859ba21f6db184f7ada03314ed02b42e49eb8149 (patch)
treed6e4b35187bb52371c102b982eb8a90af56420d2 /src/video_core/renderer_vulkan
parentMerge pull request #6396 from lat9nq/mingw-sdl-fix (diff)
downloadyuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar.gz
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar.bz2
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar.lz
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar.xz
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.tar.zst
yuzu-859ba21f6db184f7ada03314ed02b42e49eb8149.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.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index e9a0e7811..1c9120170 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -476,6 +476,10 @@ void RasterizerVulkan::BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAd
buffer_cache.BindGraphicsUniformBuffer(stage, index, gpu_addr, size);
}
+void Vulkan::RasterizerVulkan::DisableGraphicsUniformBuffer(size_t stage, u32 index) {
+ buffer_cache.DisableGraphicsUniformBuffer(stage, index);
+}
+
void RasterizerVulkan::FlushAll() {}
void RasterizerVulkan::FlushRegion(VAddr addr, u64 size) {
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h
index 235afc6f3..cb8c5c279 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.h
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h
@@ -64,6 +64,7 @@ public:
void ResetCounter(VideoCore::QueryType type) override;
void Query(GPUVAddr gpu_addr, VideoCore::QueryType type, std::optional<u64> timestamp) override;
void BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr, u32 size) override;
+ void DisableGraphicsUniformBuffer(size_t stage, u32 index) override;
void FlushAll() override;
void FlushRegion(VAddr addr, u64 size) override;
bool MustFlushRegion(VAddr addr, u64 size) override;