Zebediah Figura : wined3d: Move the stencil function to wined3d_depth_stencil_state.