From 38d57eb02c01081eb67bf4c2e580547744f9a6a9 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Tue, 29 Mar 2016 01:59:54 +0200 Subject: [PATCH] vulkan: Remove unneeded dirty_frame boolean. --- rpcs3/Emu/RSX/VK/VKGSRender.cpp | 1 - rpcs3/Emu/RSX/VK/VKGSRender.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index dbdfb767f0..4a6111e142 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -1199,6 +1199,5 @@ void VKGSRender::flip(int buffer) vkResetDescriptorPool(*m_device, descriptor_pool, 0); m_draw_calls = 0; - dirty_frame = true; m_frame->flip(m_context); } diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.h b/rpcs3/Emu/RSX/VK/VKGSRender.h index eecd753574..9009da69c7 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.h +++ b/rpcs3/Emu/RSX/VK/VKGSRender.h @@ -61,7 +61,6 @@ private: vk::command_pool m_command_buffer_pool; vk::command_buffer m_command_buffer; - bool dirty_frame = true; std::array m_render_passes; @@ -75,7 +74,6 @@ private: std::vector > m_sampler_to_clean; u32 m_draw_calls = 0; - u8 m_draw_buffers_count = 0; public: