glsl: handle max uniform limits with lower_const_arrays_to_uniforms
authorTapani Pälli <tapani.palli@intel.com>
Fri, 8 Nov 2019 06:17:17 +0000 (08:17 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 28 Nov 2019 12:11:46 +0000 (14:11 +0200)
commitd61a21f439386b12752d498b1b1c85a891c50bc8
treea20afb41ce5896a15d69ccd80db85adc828bb31f
parent4cde0e04e38ad2b9212d451cb5a84ed4ceaffd03
glsl: handle max uniform limits with lower_const_arrays_to_uniforms

Fixes arb_tessellation_shader-large-uniforms Piglit test.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_optimization.h
src/compiler/glsl/linker.cpp
src/compiler/glsl/lower_const_arrays_to_uniforms.cpp