1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[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

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