Re: [Mesa-dev] [PATCH] glsl: assert base_alignment > 0 for records

2015-09-29 Thread Ilia Mirkin
On Tue, Sep 29, 2015 at 5:02 AM, Samuel Iglesias Gonsalvez wrote: > From GLSL 1.50 spec, section 4.1.8 "Structures": > > "Structures must have at least one member declaration." > > So the base_alignment should be higher than zero. > > Signed-off-by: Samuel Iglesias Gonsalvez > Cc: Ilia Mirkin >

[Mesa-dev] [PATCH] glsl: assert base_alignment > 0 for records

2015-09-29 Thread Samuel Iglesias Gonsalvez
From GLSL 1.50 spec, section 4.1.8 "Structures": "Structures must have at least one member declaration." So the base_alignment should be higher than zero. Signed-off-by: Samuel Iglesias Gonsalvez Cc: Ilia Mirkin --- src/glsl/glsl_types.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/s