From d9d7634f8b6d8420512be7b717f53b1d7e56cdca Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 31 May 2019 20:06:35 +0200 Subject: [PATCH] vk: remove duplicate condition in pipeline_props struct equal operator --- rpcs3/Emu/RSX/VK/VKProgramBuffer.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKProgramBuffer.h b/rpcs3/Emu/RSX/VK/VKProgramBuffer.h index 078f22b154..6e0b42c9fc 100644 --- a/rpcs3/Emu/RSX/VK/VKProgramBuffer.h +++ b/rpcs3/Emu/RSX/VK/VKProgramBuffer.h @@ -40,9 +40,6 @@ namespace vk if (memcmp(&state.ds, &other.state.ds, sizeof(VkPipelineDepthStencilStateCreateInfo))) return false; - if (num_targets != other.num_targets) - return false; - return num_targets == other.num_targets; } };