mirror of https://github.com/doitsujin/dxvk
Merge 809c1d4cf5
into ab715a8876
This commit is contained in:
commit
504a7ef179
|
@ -303,7 +303,8 @@ namespace dxvk {
|
|||
}
|
||||
else {
|
||||
for (UINT i = 0; i < Count; i++)
|
||||
set->fConsts[StartRegister + i] = replaceNaN(pConstantData + (i * 4));
|
||||
// The (float*) cast is a workaround for a bug in the EDG compiler frontend
|
||||
set->fConsts[StartRegister + i] = replaceNaN((float*)pConstantData + (i * 4));
|
||||
}
|
||||
}
|
||||
else if constexpr (ConstantType == D3D9ConstantType::Int) {
|
||||
|
|
Loading…
Reference in New Issue