[PATCH 3/4] wined3d: Invalidate the depth/stencil view if the depth/stencil state may be written.