OSDN Git Service

mesa: Unhook NV_fragment_program API from the dispatch table.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 14 Oct 2012 21:43:43 +0000 (14:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Oct 2012 18:24:34 +0000 (11:24 -0700)
commitff1943dec9dbfc3e9d18da940bb63c2d9b0137a7
tree76970effa9e3903c6440f5fa369b5bdc5f5ec07b
parent492feddb03203abbe371958a8ebcfe3e08a3c42b
mesa: Unhook NV_fragment_program API from the dispatch table.

The NamedParameter functions were introduced in NV_fragment_program, and
are not shared with any other extensions.

Although this patch appears to remove the LocalParameter functions, it
does not: the ARB_fragment_program section also set them up.  Now we
simply initialize them a single time.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/api_exec.c
src/mesa/main/dlist.c