[PATCH 2/2] d3d9/tests: Add a depth bias test.

Henri Verbeet hverbeet at gmail.com
Thu Jul 30 06:57:03 CDT 2015


On 30 July 2015 at 12:00, Stefan Dösinger <stefan at codeweavers.com> wrote:
> +    static const D3DFORMAT formats[] =
> +    {
> +        D3DFMT_D16, D3DFMT_D24X8, D3DFMT_D32,
> +
> +        /* The scaling factor detection function detects the wrong factor for
> +         * float formats on Nvidia, therefore the following tests are disabled.
> +         * The wined3d function detects 2^23 like for fixed point formats but
> +         * the test needs 2^22 to pass.
> +         *
> +         * AMD GPUs need a different scaling factor for float depth buffers
> +         * (2^24) than fixed point (2^23), but the wined3d detection function
> +         * works there, producing the right result in the test.
> +         *
> +         * D3DFMT_D32F_LOCKABLE, D3DFMT_D24FS8,
> +         */
> +    };
> +
No D24S8? I think that's one of the most common formats. (No INTZ
either, but I suppose it's likely to behave like everything else.)



More information about the wine-devel mailing list