removed dx warning in skinning compute

This commit is contained in:
turanszkij
2017-06-01 00:28:07 +02:00
parent e7b2bbc0ea
commit 8e7dceb3eb
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1828,6 +1828,13 @@ void wiRenderer::UpdateRenderData(GRAPHICSTHREAD threadID)
// Set up skinning shader
streamOutSetUp = true;
GetDevice()->BindVertexLayout(nullptr, threadID);
GPUBuffer* vbs[] = {
nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr
};
const UINT strides[] = {
0,0,0,0,0,0,0,0
};
GetDevice()->BindVertexBuffers(vbs, 0, 8, strides, threadID);
GetDevice()->BindCS(computeShaders[CSTYPE_SKINNING], threadID);
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 11;
// minor bug fixes, alterations, refactors, updates
const int revision = 64;
const int revision = 65;
long GetVersion()