Giovanni Mascellani : vkd3d-shader/ir: Validate destination write masks depending on the dimension.