glsl: lower gl_TessLevel* from float[n] to vecn.
authorFabian Bieler <fabianbieler@fastmail.fm>
Mon, 10 Mar 2014 16:55:36 +0000 (17:55 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:27 +0000 (00:59 +0200)
commit73a9a1539a85ae8fe22e11b4064105d588597736
tree74aa1f405af4f0163138272519f8666a63e01144
parent54f29502972cdd33302e69e029c8d07fb31b7bdf
glsl: lower gl_TessLevel* from float[n] to vecn.

Similar to gl_ClipDistance -> gl_ClipDistanceMESA

v2: - renamed is_mesa_var to lowered_builtin_array_variable
    - moved LowerTessLevel into gl_constants
    - cosmetic changes in lower_tess_level.cpp

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/Makefile.sources
src/glsl/ir_optimization.h
src/glsl/link_varyings.cpp
src/glsl/link_varyings.h
src/glsl/linker.cpp
src/glsl/lower_tess_level.cpp [new file with mode: 0644]
src/mesa/main/mtypes.h