[v5 1/8] d3dx9: Add test for preshader in effect.

Matteo Bruni matteo.mystral at gmail.com
Tue Mar 22 17:39:56 CDT 2016


2016-03-22 23:22 GMT+01:00 Paul Gofman <gofmanp at gmail.com>:
> On 03/23/2016 01:05 AM, Matteo Bruni wrote:
>> 2016-03-21 14:55 GMT+01:00 Paul Gofman <gofmanp at gmail.com>:
>>
>>> +struct test_struct
>>> +{
>>> +    float3 v1;
>>> +    float fv;
>>> +    float4 v2;
>>> +};
>>> +
>>> +test_struct ts1[1] = {{{9, 10, 11}, 12, {13, 14, 15, 16}}};
>>> +test_struct ts2[2] = {{{0, 0, 0}, 0, {0, 0, 0, 0}}, {{1, 2, 3}, 4, {5, 6, 7, 8}}};
>> Is it also possible to create a struct with an array field? And an
>> array of those structs?
> Since you signed this off already, I suggest I do it together with a
> couple of additions to this test effect I wanted to do for
> IsParameterUsed test I am preparing.

Sure. It can even be two separate patches.



More information about the wine-devel mailing list