2016-03-22 23:22 GMT+01:00 Paul Gofman gofmanp@gmail.com:
On 03/23/2016 01:05 AM, Matteo Bruni wrote:
2016-03-21 14:55 GMT+01:00 Paul Gofman gofmanp@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.