1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxbc] Assume vec4 type for i/o vars not declared in signature

Works around an ENB bug.
This commit is contained in:
Philip Rebohle 2019-10-23 15:08:40 +02:00
parent 3e12a116bb
commit ec8ca8a403
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -7572,6 +7572,9 @@ namespace dxvk {
default: {
DxbcVectorType result;
result.ctype = DxbcScalarType::Float32;
result.ccount = 4;
if (m_isgn->findByRegister(regIdx))
result.ccount = m_isgn->regMask(regIdx).minComponents();
return result;
}
@ -7606,6 +7609,9 @@ namespace dxvk {
default: {
DxbcVectorType result;
result.ctype = DxbcScalarType::Float32;
result.ccount = 4;
if (m_osgn->findByRegister(regIdx))
result.ccount = m_osgn->regMask(regIdx).minComponents();
return result;
}