[PATCH 8/9] d3d10core/tests: Add test for two sided stencil.

Henri Verbeet hverbeet at gmail.com
Wed Nov 30 09:17:53 CST 2016


On 30 November 2016 at 12:47, Józef Kucia <jkucia at codeweavers.com> wrote:
> +    ds_desc.FrontFace.StencilFailOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.FrontFace.StencilDepthFailOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.FrontFace.StencilPassOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.FrontFace.StencilFunc = D3D10_COMPARISON_NEVER;
> +    ds_desc.BackFace.StencilFailOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.BackFace.StencilDepthFailOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.BackFace.StencilPassOp = D3D10_STENCIL_OP_ZERO;
> +    ds_desc.BackFace.StencilFunc = D3D10_COMPARISON_ALWAYS;
It's fine for a start, but note that this test doesn't do much for
front/back stencil ops. Also, fwiw, in d3d9:visual there's
stencil_cull_test() that's similar.



More information about the wine-devel mailing list