diff options
author | Kenneth Graunke <[email protected]> | 2012-10-14 16:43:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-10-16 11:35:24 -0700 |
commit | 8d418d16165624a59b2049d4097b4ab0dc82ffa9 (patch) | |
tree | 25cb5e695d63066b16eaf08cb0d7810f55534e94 /src/mesa/program/prog_execute.c | |
parent | d67e52b0271a0abf44a68cfd5968f75334f6a06d (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_execute.c')
-rw-r--r-- | src/mesa/program/prog_execute.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/program/prog_execute.c b/src/mesa/program/prog_execute.c index f57027c0756..5b6a5c14927 100644 --- a/src/mesa/program/prog_execute.c +++ b/src/mesa/program/prog_execute.c @@ -136,8 +136,6 @@ get_src_register_pointer(const struct prog_src_register *source, case PROGRAM_CONSTANT: /* Fallthrough */ case PROGRAM_UNIFORM: - /* Fallthrough */ - case PROGRAM_NAMED_PARAM: if (reg >= (GLint) prog->Parameters->NumParameters) return ZeroVec; return (GLfloat *) prog->Parameters->ParameterValues[reg]; |