summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_execute.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-11-13 13:38:37 -0800
committerEric Anholt <[email protected]>2013-11-15 11:34:57 -0800
commit33b0455211019988fe418cca5dfac62c7902c861 (patch)
tree0d6c06f2b3ece04fb3ac2cd740ae4b72b4d91832 /src/mesa/program/prog_execute.c
parentfddc17ab365370f9afb6b44fb3e2bbf68d450968 (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/prog_execute.c')
-rw-r--r--src/mesa/program/prog_execute.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/program/prog_execute.c b/src/mesa/program/prog_execute.c
index 560332a6e63..4a6414747b4 100644
--- a/src/mesa/program/prog_execute.c
+++ b/src/mesa/program/prog_execute.c
@@ -118,11 +118,6 @@ get_src_register_pointer(const struct prog_src_register *source,
return ZeroVec;
return machine->Outputs[reg];
- case PROGRAM_LOCAL_PARAM:
- if (reg >= MAX_PROGRAM_LOCAL_PARAMS)
- return ZeroVec;
- return machine->CurProgram->LocalParams[reg];
-
case PROGRAM_ENV_PARAM:
if (reg >= MAX_PROGRAM_ENV_PARAMS)
return ZeroVec;