mesa: renumber shader indices according to their placement in pipeline
authorMarek Olšák <maraeo@gmail.com>
Wed, 12 Jun 2013 15:15:46 +0000 (17:15 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 2 Jul 2013 15:02:14 +0000 (17:02 +0200)
commit030ca230e25192307336cb39f1ee414d0392b620
treed77e85b3517380fded6c54ce6a1c3ef1da025f1f
parent84f367e69a876e473b4293483c5842b47d27d493
mesa: renumber shader indices according to their placement in pipeline

See my explanation in mtypes.h.

v2: don't do this in gallium
v3: also updated the comment at the gl_shader_type definition

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/linker.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/main/mtypes.h
src/mesa/main/shaderobj.h
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/program.h
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp