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/drivers | |
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/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_fragprog.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_vertprog.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 67eff7665d1..fcdca75d676 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -160,9 +160,6 @@ src_vector(struct i915_fragment_program *p, /* Various paramters and env values. All emitted to * hardware as program constants. */ - case PROGRAM_LOCAL_PARAM: - src = i915_emit_param4fv(p, program->Base.LocalParams[source->Index]); - break; case PROGRAM_ENV_PARAM: src = diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c index 461b7cb55a8..5f15a575b5c 100644 --- a/src/mesa/drivers/dri/r200/r200_vertprog.c +++ b/src/mesa/drivers/dri/r200/r200_vertprog.c @@ -210,7 +210,6 @@ static unsigned long t_src_class(gl_register_file file) case PROGRAM_INPUT: return VSF_IN_CLASS_ATTR; - case PROGRAM_LOCAL_PARAM: case PROGRAM_ENV_PARAM: case PROGRAM_CONSTANT: case PROGRAM_STATE_VAR: |