Matteo Bruni : wined3d: Optimize setting shader constants in wined3d_stateblock_capture().