summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-11-13 13:41:28 -0800
committerEric Anholt <eric@anholt.net>2013-11-15 11:34:59 -0800
commitbb1f0969756fbb827c4b2520c632daa15342b064 (patch)
tree11655aa90b64a15c47f561681b5c72ab690c9dfc /src/mesa/program/program.c
parent33b0455211019988fe418cca5dfac62c7902c861 (diff)
downloadexternal_mesa3d-bb1f0969756fbb827c4b2520c632daa15342b064.zip
external_mesa3d-bb1f0969756fbb827c4b2520c632daa15342b064.tar.gz
external_mesa3d-bb1f0969756fbb827c4b2520c632daa15342b064.tar.bz2
mesa: Remove PROGRAM_ENV_PARAM enum.
This has been replaced with referring to env parameters using PROGRAM_STATE_VAR and _mesa_load_state_parameters. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r--src/mesa/program/program.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index e8bb7d7..b7b5140 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -909,9 +909,6 @@ _mesa_valid_register_index(const struct gl_context *ctx,
case PROGRAM_TEMPORARY:
return index >= 0 && index < (GLint) c->MaxTemps;
- case PROGRAM_ENV_PARAM:
- return index >= 0 && index < (GLint) c->MaxEnvParams;
-
case PROGRAM_UNIFORM:
case PROGRAM_STATE_VAR:
/* aka constant buffer */