Batman:Arkham Knight sample mask and multisampling behavior problem
I have encountered a problem with Batman's cloak in the game Batman:Arkham Knight. It is always flickering and it looks like it is caused by DXVK.
Firstly the Mesa issue was created: 6078. You can find most of information in this issue, but in general it appears that sample mask out behavior with multisampling is a problem here. It looks like DXVK is expecting GL behavior. It expects sample mask to be disabled for single sampled target, while VK behavior is different - per the Vulkan spec, shader writes to the sample mask work regardless of whether multisample is enabled.
Trace BatmanAK
Is the D3D behaviour documented anywhere?
We don't really "expect" anything, we just translate the shader as normal since I'm not aware that this is a special case in some APIs.
@viktoriiapalianytsia i see this have been worked around in the driver but if you are still around i think the devs would like some more info about the original issue if possible
@viktoriiapalianytsia Friendly double ping.