[d3d9] Men of War Assault Squad cutscene black bars offset by a pixel with msaa
In Men of War Assault Squad the black bars that appear at the top and bottom of the screen in cutscenes are seemingly offset by 1 pixel both down and to the right. This happens when you turn on MSAA in the game. This does not happen with wined3d.
Notice in the screenshot that the bars don't fill fully to the edge.
Screenshot
Software information
Men of War Assault Squad MSAA turned on
System information
- GPU: RTX 4080
- Driver: 570.153.02
- Wine version: Proton 10 Bleeding Edge
- DXVK version: d9vk 0.10 to dxvk master
Apitrace file(s)
The trace was not made specifically for this issue and so run a bit longer after the cutscene in question.
https://drive.proton.me/urls/KT1Z01F98C#o3wNjiGEiPvt
Notice how running the apitrace with d3d9.forceSwapchainMSAA = 0 makes the gap go away.
Log files
Looks like another case of the game disabling multisampled rasterization while rendering to a multisampled render target, which we can't really support in any sort of sane way.
Seems to affect the original Men of War game as well, so it's probably safe to say all games in the series (using the same engine) exhibit this issue.