Re: [Mesa-dev] [PATCH 14/18] glsl: Don't include the array index.

2016-08-01 Thread Ilia Mirkin
Fwiw I remember having trouble finding justification for the comments in that issue, and iirc the opposite seemed to be indicated by the spec text. (E.g.that array indices should be maintained.) I suspect there are also AoA interactions. I guess my point here is to double check this, as well as wh

[Mesa-dev] [PATCH 14/18] glsl: Don't include the array index.

2016-08-01 Thread Kenneth Graunke
Issue 16 of the ARB_program_interface_query spec gives an example: For example, in the following code: uniform Block1 { int member1; }; uniform Block2 { int member2; } instance2; uniform Block3 { int member3; } in