From ddfa7e40b37cf06fe10020f5b3dd55edc0f24abc Mon Sep 17 00:00:00 2001
From: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Date: Mon, 24 Sep 2018 22:54:49 +0200
Subject: [PATCH] [dxvk] Renove redundant vkDestroyPipeline

---
 src/dxvk/dxvk_compute.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dxvk/dxvk_compute.cpp b/src/dxvk/dxvk_compute.cpp
index 5c47f2ea..8f5e6e4d 100644
--- a/src/dxvk/dxvk_compute.cpp
+++ b/src/dxvk/dxvk_compute.cpp
@@ -74,7 +74,6 @@ namespace dxvk {
       // was faster compiling the same pipeline
       if (this->findPipeline(state, pipeline)) {
         this->destroyPipeline(newPipelineHandle);
-        m_vkd->vkDestroyPipeline(m_vkd->device(), newPipelineHandle, nullptr);
         return pipeline;
       }