[PATCH 3/3] d3d9/tests: Add test for SW shader in MVP mode.

Henri Verbeet hverbeet at gmail.com
Thu Aug 24 10:42:25 CDT 2017


On 24 August 2017 at 17:27, Paul Gofman <gofmanp at gmail.com> wrote:
> On 08/24/2017 04:39 PM, Henri Verbeet wrote:
>> On 23 August 2017 at 16:17, Paul Gofman <gofmanp at gmail.com> wrote:
>>> +    /* wined3d does not guarantee 0 for out of bounds constant access by
>>> default. */
>>
>> IIRC neither does Windows, in general. Matteo may have a better
>> recollection of the details, but IIRC while it mostly works out in
>> practice on current NVIDIA hardware, it doesn't necessarily everywhere
>> else, and is essentially hardware/driver specific behaviour.
>>
> So should I maybe change the test not to check for exact value but rather
> for not matching constant c256?
>
It might still match by chance. Perhaps it's best to just not test the
result of the draw and instead document why.



More information about the wine-devel mailing list