Re: [Mesa-dev] [PATCH v3 06/11] glsl: Add arb_cull_distance support

2016-05-09 Thread Ian Romanick
On 05/09/2016 12:24 PM, Tobias Klausmann wrote: > > On 09.05.2016 20:41, Ian Romanick wrote: > >> snip >>> + /* From the ARB_cull_distance spec: >>> + * >>> + * It is a compile-time or link-time error for the set of >>> shaders forming >>> + * a program to have the sum of t

Re: [Mesa-dev] [PATCH v3 06/11] glsl: Add arb_cull_distance support

2016-05-09 Thread Tobias Klausmann
On 09.05.2016 20:41, Ian Romanick wrote: snip + /* From the ARB_cull_distance spec: + * + * It is a compile-time or link-time error for the set of shaders forming + * a program to have the sum of the sizes of the gl_ClipDistance and + * gl_CullDistance arrays to be

Re: [Mesa-dev] [PATCH v3 06/11] glsl: Add arb_cull_distance support

2016-05-09 Thread Ian Romanick
On 05/08/2016 10:44 PM, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann > --- > src/compiler/glsl/ast_to_hir.cpp | 14 > src/compiler/glsl/builtin_variables.cpp | 11 ++- > src/compiler/glsl/glcpp/glcpp-parse.y| 3 + > src/compiler/glsl/glsl_parser_extr

[Mesa-dev] [PATCH v3 06/11] glsl: Add arb_cull_distance support

2016-05-08 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/compiler/glsl/ast_to_hir.cpp | 14 src/compiler/glsl/builtin_variables.cpp | 11 ++- src/compiler/glsl/glcpp/glcpp-parse.y| 3 + src/compiler/glsl/glsl_parser_extras.cpp | 1 + src/compiler/glsl/glsl_parser_extras.h