mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxbc] Fixed issue with FtoD instruction picking an incorrect type
This commit is contained in:
parent
68a7ad81e1
commit
e35cbf833c
@ -2581,7 +2581,7 @@ namespace dxvk {
|
||||
uint32_t dstBits = ins.dst[0].mask.popCount();
|
||||
|
||||
DxbcRegMask srcMask = isDoubleType(ins.dst[0].dataType)
|
||||
? DxbcRegMask(dstBits == 2, dstBits == 4, false, false)
|
||||
? DxbcRegMask(dstBits >= 2, dstBits >= 4, false, false)
|
||||
: DxbcRegMask(dstBits >= 1, dstBits >= 1, dstBits >= 2, dstBits >= 2);
|
||||
|
||||
// Perform actual conversion, destination modifiers are not applied
|
||||
|
Loading…
x
Reference in New Issue
Block a user