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:
parent
3e12a116bb
commit
ec8ca8a403
@ -7572,7 +7572,10 @@ namespace dxvk {
|
|||||||
default: {
|
default: {
|
||||||
DxbcVectorType result;
|
DxbcVectorType result;
|
||||||
result.ctype = DxbcScalarType::Float32;
|
result.ctype = DxbcScalarType::Float32;
|
||||||
result.ccount = m_isgn->regMask(regIdx).minComponents();
|
result.ccount = 4;
|
||||||
|
|
||||||
|
if (m_isgn->findByRegister(regIdx))
|
||||||
|
result.ccount = m_isgn->regMask(regIdx).minComponents();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -7606,7 +7609,10 @@ namespace dxvk {
|
|||||||
default: {
|
default: {
|
||||||
DxbcVectorType result;
|
DxbcVectorType result;
|
||||||
result.ctype = DxbcScalarType::Float32;
|
result.ctype = DxbcScalarType::Float32;
|
||||||
result.ccount = m_osgn->regMask(regIdx).minComponents();
|
result.ccount = 4;
|
||||||
|
|
||||||
|
if (m_osgn->findByRegister(regIdx))
|
||||||
|
result.ccount = m_osgn->regMask(regIdx).minComponents();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user