I assume you are elaborating your point.
Depends on which i5, and which i3. A modern i3 can easily sweep a old i7 in gaming due to better IPC and clock rates. (i3 8350K vs i7 760)
DirectX version is also based on software, not hardware generations.
For gaming, you can get a Ryzen 1400 or...