Zebediah Figura : d3d9: Retrieve pixel shader constants from the primary stateblock.