OSDN Git Service

mesa: Remove support for named parameters.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 14 Oct 2012 23:43:15 +0000 (16:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Oct 2012 18:35:24 +0000 (11:35 -0700)
commit8d418d16165624a59b2049d4097b4ab0dc82ffa9
tree25cb5e695d63066b16eaf08cb0d7810f55534e94
parentd67e52b0271a0abf44a68cfd5968f75334f6a06d
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>
src/mesa/drivers/dri/i915/i915_fragprog.c
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/r200/r200_vertprog.c
src/mesa/main/mtypes.h
src/mesa/program/prog_execute.c
src/mesa/program/prog_parameter.c
src/mesa/program/prog_parameter.h
src/mesa/program/prog_print.c
src/mesa/program/program.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c