dolphin-emu/dolphin — pull request #1414 by kayru (2014-10-26 23:00:37+00:00)
Title: D3D: Couple of small optimizations

* Vertex and index data in one buffer
* Pixel shader resources are not reset unnecessarily

Vertex and index buffer are usually both updated for every draw call.
We can avoid some driver overhead related to mapping/unmapping by using just one buffer.
This is the same optimization as Galop1n did in https://github.com/dolphin-emu/dolphin/pull/438.