Yuri Kryachko
01-15-2004, 05:53 AM
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!
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!