• Don't use D3DX's state caching. Cache it yourself. Those extra function calls do add up!