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 <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user