[PATCH 2/5] d3d9: Retrieve render state from the primary stateblock.