[PATCH] wined3d: Invalidate STATE_STENCIL_REF when switching between NULL and non-NULL depth/stencil views.