Re: [Mesa-dev] [PATCH 2/6] glsl: correctly validate component layout qualifier for dvec{3, 4}

2019-02-11 Thread Andres Gomez
On Sat, 2019-02-02 at 10:49 +1100, Timothy Arceri wrote: > On 2/2/19 5:05 am, Andres Gomez wrote: > > From page 62 (page 68 of the PDF) of the GLSL 4.50 v.7 spec: > > > >" A dvec3 or dvec4 can only be declared without specifying a > > component." > > > > Therefore, using the

Re: [Mesa-dev] [PATCH 2/6] glsl: correctly validate component layout qualifier for dvec{3, 4}

2019-02-01 Thread Timothy Arceri
On 2/2/19 5:05 am, Andres Gomez wrote: From page 62 (page 68 of the PDF) of the GLSL 4.50 v.7 spec: " A dvec3 or dvec4 can only be declared without specifying a component." Therefore, using the "component" qualifier with a dvec3 or dvec4 should result in a compiling error. Fixes: