To be honest, you don’t have to do that much optimizing on PC, that’s what the drivers from hardware vendors are there for.
You program for an API like DirectX, and this then talks to the drivers which have to react appropriately and produce the desired results.
You can optimize some of these calls, since certain…