[d3d9,dxso] Fix push constant validation errors

Derp.
This commit is contained in:
Philip Rebohle 2022-07-01 17:57:42 +02:00
parent e81094533b
commit 76ba03398d
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 2 additions and 2 deletions

View File

@ -718,7 +718,7 @@ namespace dxvk {
info.inputMask = m_inputMask;
info.outputMask = m_outputMask;
info.pushConstOffset = m_pushConstOffset;
info.pushConstSize = m_pushConstOffset;
info.pushConstSize = m_pushConstSize;
return new DxvkShader(info, m_module.compile());
}

View File

@ -253,7 +253,7 @@ namespace dxvk {
info.inputMask = m_inputMask;
info.outputMask = m_outputMask;
info.pushConstOffset = m_pushConstOffset;
info.pushConstSize = m_pushConstOffset;
info.pushConstSize = m_pushConstSize;
return new DxvkShader(info, m_module.compile());
}