Zebediah Figura : wined3d: Store the material in the wined3d_stateblock_state structure.