From 6c12cd0ce83e23dcc90ebcb1f89e2feb30a16353 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 1 Aug 2016 15:59:03 -1000 Subject: [PATCH] Flush out state for offset uniform bindings --- lib/graphicsdev/D3D11.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/graphicsdev/D3D11.cpp b/lib/graphicsdev/D3D11.cpp index d6ae49c..eb70f85 100644 --- a/lib/graphicsdev/D3D11.cpp +++ b/lib/graphicsdev/D3D11.cpp @@ -660,6 +660,7 @@ struct D3D11ShaderDataBinding : IShaderDataBinding if (m_ubufFirstConsts) { ID3D11Buffer* constBufs[8] = {}; + ctx->VSSetConstantBuffers(0, m_ubufCount, constBufs); for (int i=0 ; i<8 && iPSSetConstantBuffers(0, m_ubufCount, constBufs); for (int i=0 ; i<8 && i