As of bug 593618, the D3D9 layers backend validates the entire bounds of the visible region. However, this is subtly incorrect: we could be validating pixels which (while not currently visible due to some other layer occluding them) may make the entire layer non-opaque. To fix this, we need to draw the visible regions individually out of the texture. (We can then remove validating the entire bounds of the visible region.)
You need to log in before you can comment on or make changes to this bug.