This is a D3D-specific part of the fix for
4841762: D3D/OGL: enable bilinear sw->surface transforms
See that bug for complete description.
We already have the code which deals with this, we just needed
to rearrange things a little so that it can be used in
sw->surface via testure blits.
The fix for the opengl pipeline will continue to be tracked by