[PATCH 1/2] d3d9/tests: Add test for buffer read / write.

Paul Gofman gofmanp at gmail.com
Tue Feb 12 10:09:27 CST 2019


On 2/12/19 18:25, Henri Verbeet wrote:
> On Tue, 12 Feb 2019 at 15:50, Paul Gofman <gofmanp at gmail.com> wrote:
>> +    static const float tri[][3] =
>> +    {
>> +        {-1.0f, -1.0f, 0.0f},
>> +        {-1.0f,  1.0f, 0.0f},
>> +        { 1.0f,  1.0f, 0.0f},
>> +    };
> It's pretty minor, but we have "struct vec3" for this kind of thing.
>
I would change this declaration but keep 'float *data' to avoid 
component wise comparisons and test output. Or do you think it is better 
to use vec3 for that too?




More information about the wine-devel mailing list