Zhiyi Zhang : wined3d: Truncate stencil reference values to the stencil component size.