The following vertex shader code causes the compilation to crash somewhere in ATI OpenGL driver code. The same code works on older 6.x drivers on Windows XP (I could drill down to the exact revision which breaks it).
ATI have new OpenGL driver written from scratch. It is included in Vista driver package, but not yet in XP driver package. So… you have two choices… to wait till ATI add new GL driver in XP or write two different codepaths for ATI+XP and ATI+Vista. AFAIK ATI promise that they replace old XP GL driver with new GL diver later this year.
Anyway… new GL driver is not perfect. It have different bugs and features comparing to XP version.
Actually this code is from an old/unused code path so I just deleted it and things worked out on Vista (except for the font writing which uses glPixelMap(), but I’ll post the details in another topic)
I really do appreciate this gradual upgrade cycle in which it is unlikely to happen that the product is on the shelves and all of the sudden does not work with latest/just released ATI drivers… fingers are crossed.