mesa: Remove support for named parameters.
These were only part of NV_fragment_program, so we can kill them. The fact that PROGRAM_NAMED_PARAM appears in r200_vertprog.c is rather comedic, but also demonstrates that people just spam the various types of parameters everywhere because they're confusing. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -173,7 +173,6 @@ src_vector(struct i915_fragment_program *p,
|
||||
|
||||
case PROGRAM_CONSTANT:
|
||||
case PROGRAM_STATE_VAR:
|
||||
case PROGRAM_NAMED_PARAM:
|
||||
case PROGRAM_UNIFORM:
|
||||
src = i915_emit_param4fv(p,
|
||||
&program->Base.Parameters->ParameterValues[source->Index][0].f);
|
||||
|
Reference in New Issue
Block a user