compiler: Store the clip/cull distance array sizes in shader_info.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Oct 2016 05:18:09 +0000 (22:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Nov 2016 20:30:25 +0000 (12:30 -0800)
commitc447ca64c13f386474e518e0e8dd523ee24507fe
tree649321172760704dce72a18668759850512b4524
parentc4be6e0b8d91746eccf334b9e20861af4036d06a
compiler: Store the clip/cull distance array sizes in shader_info.

We switched from a boolean to array lengths in gl_program a while back.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/shader_info.h
src/mesa/program/prog_to_nir.c