glsl: Add arb_cull_distance support (v3)
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Sun, 8 May 2016 20:44:06 +0000 (22:44 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 13 May 2016 22:28:08 +0000 (08:28 +1000)
commitd656736bbf926c219b6bcbc0ad59132fc82a7382
treea23cf6a705eec5b42acb4218ee9e7387e7b818a4
parentad355652c20b245f5f2faa8622e71461e3121a7f
glsl: Add arb_cull_distance support (v3)

v2: make too large array a compile error
v3: squash mesa/prog patch to avoid static compiler errors in bisect

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
12 files changed:
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/link_varyings.h
src/compiler/glsl/linker.cpp
src/compiler/glsl/standalone_scaffolding.cpp
src/compiler/glsl/tests/varyings_test.cpp
src/compiler/shader_enums.h
src/mesa/program/prog_print.c