[PATCH 3/5] d3d8: Retrieve render state from the primary stateblock.