mesa/glsl: set {clip,cull}_distance_array_size directly in gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 20 Nov 2016 12:05:42 +0000 (23:05 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 23 Jan 2017 03:48:04 +0000 (14:48 +1100)
commitfc707f570f918ab0defd33405c8c82f307196d17
tree3f03a4e3416f8940ed09819ca0006e1535cb3dcd
parentf86d15ed94df59e4b3cdb4099d69cdd81f52fc27
mesa/glsl: set {clip,cull}_distance_array_size directly in gl_program

There are some line wrapping violations here but those lines will get
deleted in the following patch.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/glsl/linker.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/state_tracker/st_program.c