mesa: move max texture image unit constants to gl_program_constants
authorMarek Olšák <maraeo@gmail.com>
Thu, 2 May 2013 00:30:44 +0000 (02:30 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 11 May 2013 21:45:01 +0000 (23:45 +0200)
commit5e78433eec94fcaa87bdcb2526ec0910a69ed347
treeebc6225aacfd5303bcab3422c2b57c8de53fe975
parentd27d29f1a67babd93091d34aae4c2784a8d62f31
mesa: move max texture image unit constants to gl_program_constants

Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits
Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits
etc.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
27 files changed:
src/glsl/glsl_parser_extras.cpp
src/glsl/linker.cpp
src/glsl/standalone_scaffolding.cpp
src/mesa/drivers/dri/i915/i830_context.c
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/nouveau/nv04_context.c
src/mesa/drivers/dri/nouveau/nv10_context.c
src/mesa/drivers/dri/nouveau/nv20_context.c
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/radeon/radeon_context.c
src/mesa/drivers/dri/radeon/radeon_state.c
src/mesa/main/context.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h
src/mesa/main/texenv.c
src/mesa/main/version.c
src/mesa/program/program_parse.y
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_texcombine.c
src/mesa/tnl/t_vb_program.c