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