Actually new info is putting the 32 core pretty much on par with a 3080m which means the 24 core should come close to a 3070m.
For graphics work the M1 Max will probably be the better option due to the unified memory architecture (GPU sharing memory with system). However even the M1 Pro will pack a serious punch!
I viewed a YouTube video a day or so ago showing Shadow of the tomb raider and Microsoft flight Sim that did play on a MacBook Pro M1 chip decently p, not great. So at least these two games should play even better on the M1 pro and M1 Max methinks.