diff options
author | Eric Anholt <[email protected]> | 2013-11-13 13:38:37 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-11-15 11:34:57 -0800 |
commit | 33b0455211019988fe418cca5dfac62c7902c861 (patch) | |
tree | 0d6c06f2b3ece04fb3ac2cd740ae4b72b4d91832 /src/mesa/program/program.c | |
parent | fddc17ab365370f9afb6b44fb3e2bbf68d450968 (diff) |
mesa: Remove PROGRAM_LOCAL_PARAM enum.
This has been replaced with referring to local parameters using
PROGRAM_STATE_VAR and _mesa_load_state_parameters.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index a102ec17ab4..e8bb7d7ff5f 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -912,9 +912,6 @@ _mesa_valid_register_index(const struct gl_context *ctx, case PROGRAM_ENV_PARAM: return index >= 0 && index < (GLint) c->MaxEnvParams; - case PROGRAM_LOCAL_PARAM: - return index >= 0 && index < (GLint) c->MaxLocalParams; - case PROGRAM_UNIFORM: case PROGRAM_STATE_VAR: /* aka constant buffer */ |