From 8d418d16165624a59b2049d4097b4ab0dc82ffa9 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 14 Oct 2012 16:43:15 -0700 Subject: 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 Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/r200/r200_vertprog.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/drivers/dri/r200') diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c index a3d8be95126..20664dd0c97 100644 --- a/src/mesa/drivers/dri/r200/r200_vertprog.c +++ b/src/mesa/drivers/dri/r200/r200_vertprog.c @@ -123,7 +123,6 @@ static GLboolean r200VertexProgUpdateParams(struct gl_context *ctx, struct r200_ for(pi = 0; pi < paramList->NumParameters; pi++) { switch(paramList->Parameters[pi].Type) { case PROGRAM_STATE_VAR: - case PROGRAM_NAMED_PARAM: //fprintf(stderr, "%s", vp->Parameters->Parameters[pi].Name); case PROGRAM_CONSTANT: *fcmd++ = paramList->ParameterValues[pi][0].f; @@ -214,7 +213,6 @@ static unsigned long t_src_class(gl_register_file file) case PROGRAM_LOCAL_PARAM: case PROGRAM_ENV_PARAM: - case PROGRAM_NAMED_PARAM: case PROGRAM_CONSTANT: case PROGRAM_STATE_VAR: return VSF_IN_CLASS_PARAM; -- cgit v1.2.3