From 689602497f421423b98a503239c39d2ce5c7afc6 Mon Sep 17 00:00:00 2001
From: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Date: Fri, 21 Sep 2018 23:24:01 +0200
Subject: [PATCH] [d3d11] Use state cache

---
 src/d3d11/d3d11_shader.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/d3d11/d3d11_shader.cpp b/src/d3d11/d3d11_shader.cpp
index e42e1fce..05a1ee11 100644
--- a/src/d3d11/d3d11_shader.cpp
+++ b/src/d3d11/d3d11_shader.cpp
@@ -63,6 +63,8 @@ namespace dxvk {
         m_shader->shaderConstants().data(),
         m_shader->shaderConstants().sizeInBytes());
     }
+
+    pDevice->GetDXVKDevice()->registerShader(m_shader);
   }