mirror of https://github.com/doitsujin/dxvk
[dxbc] Fill in patch vertex count info
This commit is contained in:
parent
5e42230b95
commit
b916dc04e5
|
@ -258,6 +258,9 @@ namespace dxvk {
|
|||
info.uniformSize = m_immConstData.size();
|
||||
info.uniformData = m_immConstData.data();
|
||||
|
||||
if (m_programInfo.type() == DxbcProgramType::HullShader)
|
||||
info.patchVertexCount = m_hs.vertexCountIn;
|
||||
|
||||
if (m_programInfo.type() == DxbcProgramType::PixelShader && m_ps.pushConstantId)
|
||||
info.pushConstSize = sizeof(DxbcPushConstants);
|
||||
|
||||
|
|
Loading…
Reference in New Issue