mesa: Simplify _mesa_BindProgram() by removing NV program remnants.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 14 Oct 2012 22:58:17 +0000 (15:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Oct 2012 18:35:23 +0000 (11:35 -0700)
commitd213d27f840598c19caa1a9fbf2e9a52fcbd6fcb
treee39e855fd4e6e273fbfd7ea1b8b2712148ee6673
parent2f350f360b00e786e140d9ccb9db83bf23269d8f
mesa: Simplify _mesa_BindProgram() by removing NV program remnants.

Without NV programs, there's no need for the compatible_program_targets
function.  A simple (non-)equality check will do.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/arbprogram.c