This patch series enables glProgramStringARB to handle NV vertex and
fragment programs when the appropriate extensions are supported.  It
also enables glLoadProgramNV to handle ARB vertex and fragment
programs.  This behavior is described in the "Interactions with"
sections of ARB_vertex_program and NV_fragment_program.

These are the least intrusive patches for the 7.6 release branch.
Ideally the ARB parser would be extended to handle the NV programs,
and a lot of the existing NV handling code would be refactored.  This
seems too intrusive for the stable branch, especially since we don't
have a good parser test suite for the NV programs.

One quirk that bothers me about the existing code:  glLoadProgramNV
doesn't call Driver.ProgramStringNotify.  Is this intentional?

Signed-off-by: Ian Romanick <[email protected]>

 src/mesa/shader/arbprogram.c |   44 ++++++++++++++++++++++++++++++++++++-----
 src/mesa/shader/nvprogram.c  |   29 ++++++++++++++++++++++++++-
 2 files changed, 66 insertions(+), 7 deletions(-)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to