You were correct, thats what I needed to do. Here are the steps I did under Ubuntu 20.04;
1. First to determine which video GPU's are installed in the system;
1. $xrandr --listproviders
1. on my system Provider 0 was the nVidia GPU and Provider 1 was the Intel GPU
2. In order for 3D acceleration to work within the VM's I had to start VMware using the Intel GPU so I issued the following command;
2. $DRI_PRIME=1 vmware
2. This will run vmware using the Intel GPU and the 3D acceleration works!
That's it, thanks for your help!