Re: [Mesa-dev] [PATCH 2/2] glsl: match unnamed record types across stages

2013-11-28 Thread f.josef
Hello Grigori, works perfectly - thank you very much! Kind regards, Michal Unnamed record types are assigned to separate types per stage, e.g. uniform struct { ... } a; if defined in both vertex and fragment shader, will result in two separate types of different name. When linking the

[Mesa-dev] [PATCH 2/2] glsl: match unnamed record types across stages

2013-11-26 Thread Grigori Goronzy
Unnamed record types are assigned to separate types per stage, e.g. uniform struct { ... } a; if defined in both vertex and fragment shader, will result in two separate types of different name. When linking the shader, this results in a type conflict. However, there is no reason why this should