I have found (what i think) is a possible bug in the ATI drivers in ARG_vertex_program. The bug occurs when calling glVertexAttrib*ARB(x, *) in a display list, and referencing to generic attribute x in the vertex program.
I wrote a simple test program for the bug.
c code can be found @ http://www.cs.kuleuven.ac.be/~ares/atibug/atibug.cpp
a vc6 workspace can be found at http://www.cs.kuleuven.ac.be/~ares/atibug/vc6.zip
a exe file can be found at http://www.cs.kuleuven.ac.be/~ares/atibug/bin.zip
on my system the program crashes, or displays nothing (and then crashes after minimizing the window)
I have a RADEON 9700 Pro, and the problem occurs with all catalyst drivers 2.5 - 3.0, windows XP
normally, it should just display a purplish quad.
i suspect the program will run fine on NVIDIA hardware.
i would appreciate if other people could try this program and report findings here. If you run the program, dont leave any documents open (on my system open files get corrupted when crashing)
I would very much appreciate if someone knows a workaround or a solution for this bug.