diff options
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 */ |