glsl: Index into ctx->Const.Program[] rather than using ad-hoc code.
authorPaul Berry <stereotype441@gmail.com>
Wed, 8 Jan 2014 18:17:01 +0000 (10:17 -0800)
committerPaul Berry <stereotype441@gmail.com>
Thu, 9 Jan 2014 17:31:19 +0000 (09:31 -0800)
commitbce8bc0b250c7d64ac7898ba032858963dee6a37
tree7f0bc1b886f62d2061b34237e0f184913dbb309e
parentb539385789a95074cc53c9e16988d2384ec5c7de
glsl: Index into ctx->Const.Program[] rather than using ad-hoc code.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp
src/glsl/link_atomics.cpp
src/glsl/link_varyings.cpp
src/glsl/linker.cpp