Paul Gofman : wined3d: Apply stencil mask to stencil reference value.