nv_fragment_program inside arb_fragment program

As I know, there is a hack, thats allows
to pass NV_fragment_program as ARB.
Is that true?

A’ve compiled my program with cg -fp30 profile and pass result listing.
"!!FP1.0

NV_fragment_program generated by NVIDIA Cg compiler

"
The when the shader need not a constants
all works ok. But when shader use constants they always zero((
Constants passed bu using
glProgramLocalParameter4fvARB(GL_FRAGMENT_PROGRAM_ARB, n, f4);
and for the test
glProgramLocalParameter4fvARB(GL_FRAGMENT_PROGRAM_NV, n, f4);
But result is the same!
Help me please!

What card and driver are you using? If you’re
using an nVidia card with an older driver,
you might want to update your driver. I think
there was a bug a while ago where
glProgramLocalParameter4fvARB was broken.

You can pass NV programs as ARB, it works - but don’t rely an that!
But I don’t know about parameters. I guess you should still use gl…parameter…nv

Originally posted by jeremyz:
What card and driver are you using? If you’re
using an nVidia card with an older driver,
you might want to update your driver. I think
there was a bug a while ago where
glProgramLocalParameter4fvARB was broken.

53.03 or 45.33