Point sprites and vertex programs

Hello,

I got some problem getting point sprites to work with vertex programs. Everything works fine without them but when I enable them the point sprites disappear.
Even a trivial vertex program like:

!!ARBvp1.0
OPTION ARB_position_invariant ;
MOV	result.pointsize, 10;
MOV	result.color, 1;
END

Doesn’t work (similar results without the posinv and doing the transform manually)
Is there any special state or limitations I need to be aware of (the specs don’t seem to mention any…)

Charles

Are doing glEnable(GL_VERTEX_PROGRAM_POINT_SIZE_ARB, GL_TRUE); ?

or use gl_PointSize and rewrite it using GLSL (then you don’t have to call that glEnable apparently).