Skip to content

vkd3d-shader/d3dbc: Don't write inconsequential MOVs.

Francisco Casas requested to merge fcasas/vkd3d:fixes5 into master

CASTS from floats to integers are implemented as mere MOVs. These often, but not always, end up moving the value from one register to the same register.

1/2 avoids writing the MOV instructions if they have no effect.

2/2 is an unrelated but tiny memory fix.

Merge request reports

Loading