[Mesa-dev] [PATCH 4/4] glsl: Fix implicit conversions in array constructors

2011-07-27 Thread Chad Versace
Array constructors obey narrower conversion rules than other constructors, but process_array_constructor() was incorrectly applying the broader rules. From page 33 (page 39 of the pdf) of the GLSL 1.20 spec, Section 5.4.4 Array Constructors: Each argument must be the same type as the element ty

[Mesa-dev] [PATCH 4/4] glsl: Fix implicit conversions in array constructors

2011-07-26 Thread Chad Versace
Array constructors obey narrower conversion rules than other constructors, but process_array_constructor() was incorrectly applying the broader rules. From page 33 (page 39 of the pdf) of the GLSL 1.20 spec, Section 5.4.4 Array Constructors: Each argument must be the same type as the element ty