Zebediah Figura : wined3d: Add helpers to retrieve shader constants from a wined3d_stateblock.