You can't use specs such as the type of ram to rate graphics cards.
Designers use many different specs to achieve a target price/performance level.
The vram is used differently between amd and nvidia drivers.
One way to compare is via the passmark performance ratings.
AMD 530 has a rating of 1002.
Nvidia 940MX is 1251.