mesa: glsl: add usage tracking for uniform vars
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 19 Aug 2008 16:27:06 +0000 (10:27 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 19 Aug 2008 16:27:06 +0000 (10:27 -0600)
commit3e1706f720b211f27a4aa88af2141db0c793adbb
treeed60e31df217ec796fa024c3327e4b40982f1c09
parentdf9bd01ea0c8a4d5b5ffecad4482ca6b4f2db33d
mesa: glsl: add usage tracking for uniform vars

Unused uniforms are no longer included in the active uniforms list.
src/mesa/shader/prog_parameter.c
src/mesa/shader/prog_parameter.h
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_link.c