Fix tessellation pipeline setup

This commit is contained in:
Jack Andersen
2018-10-16 17:26:07 -10:00
parent 9adf481c8e
commit 7d1be415c6
3 changed files with 27 additions and 16 deletions

View File

@@ -588,6 +588,9 @@ class D3D11ShaderPipeline : public GraphicsDataNode<IShaderPipeline>
if (auto* s = evaluation.cast<D3D11ShaderStage>())
s->shader(m_dShader);
if (control && evaluation)
m_topology = D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST + info.patchSize - 1;
D3D11_CULL_MODE cullMode;
switch (info.culling)
{