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,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user