summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-19 22:13:50 +0100
committerGitHub <noreply@github.com>2020-02-19 22:13:50 +0100
commitb2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch)
treed5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/renderer_vulkan
parentMerge pull request #3411 from ReinUsesLisp/specific-funcs (diff)
parentmaxwell_3d: Unify draw methods (diff)
downloadyuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.gz
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.bz2
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.lz
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.xz
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.zst
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp10
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.h5
2 files changed, 1 insertions, 14 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 79aa121ed..31c078f6a 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -295,16 +295,6 @@ RasterizerVulkan::RasterizerVulkan(Core::System& system, Core::Frontend::EmuWind
RasterizerVulkan::~RasterizerVulkan() = default;
-bool RasterizerVulkan::DrawBatch(bool is_indexed) {
- Draw(is_indexed, false);
- return true;
-}
-
-bool RasterizerVulkan::DrawMultiBatch(bool is_indexed) {
- Draw(is_indexed, true);
- return true;
-}
-
void RasterizerVulkan::Draw(bool is_indexed, bool is_instanced) {
MICROPROFILE_SCOPE(Vulkan_Drawing);
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h
index add1ad88c..138903d60 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.h
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h
@@ -105,8 +105,7 @@ public:
VKScheduler& scheduler);
~RasterizerVulkan() override;
- bool DrawBatch(bool is_indexed) override;
- bool DrawMultiBatch(bool is_indexed) override;
+ void Draw(bool is_indexed, bool is_instanced) override;
void Clear() override;
void DispatchCompute(GPUVAddr code_addr) override;
void ResetCounter(VideoCore::QueryType type) override;
@@ -143,8 +142,6 @@ private:
static constexpr std::size_t ZETA_TEXCEPTION_INDEX = 8;
- void Draw(bool is_indexed, bool is_instanced);
-
void FlushWork();
Texceptions UpdateAttachments();