[dxbc] Fill in patch vertex count info

This commit is contained in:
Philip Rebohle 2023-01-09 14:55:10 +01:00 committed by Philip Rebohle
parent 5e42230b95
commit b916dc04e5
1 changed files with 3 additions and 0 deletions

View File

@ -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);