[PATCH 2/2] wined3d: Fix stencil reference truncation.