[PATCH 4/9] d3d11/tests: Add test for depth bias.

Józef Kucia joseph.kucia at gmail.com
Thu Dec 7 10:01:30 CST 2017


On Thu, Dec 7, 2017 at 4:04 PM, Henri Verbeet <hverbeet at gmail.com> wrote:
>> +    static const float quad_slopes[] =
>> +    {
>> +        0.0f, 0.5f, 1.0f
>> +    };
> ...
>> +                m = quad_slopes[i] / texture_desc.Height;
>> +                m = sqrtf(m * m);
> sqrtf(m * m) = fabsf(m) = m
>
> Right?

Right :D



More information about the wine-devel mailing list