Hi,
My geometry shader has no effect when the input primitive is GL_POINTS. I have to feed the geometry shader with one GL_LINES primitive, repeating the first vertex.
See the message here for more details:
http://stackoverflow.com/questions/3936368/geometry-shader-doesnt-do-anything-when-fed-gl-points/4015450#4015450
Thanks,
Fred
I have the latest drivers are installed
ATI Mobility Radeon HD5470
Windows 7 x64
Catalyst Version: 10.8
Driver Packaging Version: 8.762.100803a-103697C-ATI
OpenGL Version: 6.14.10.10151
do you call LinkProgram after you have changed the primitive output type ?
regards,
Pierre B.
Yes I do.
can you test a simple test to devrel@amd.com ? you can put my name in CC.
thanks,
Pierre B.
Sorry, I'm using OpenGL through OpenSceneGraph, I can't really come up with a small repro that fits in one file.
But the original poster of the stackoverflow.com thread does give us a small repro.
The bug is simple enough to be repro'd with minimal effort though.
we are unable to reproduce a failure rendering with points through GS. please contact devrel with a way to reproduce the issue.
Pierre B.
Hi Pierre
My bad. The problem came from somewhere else. Funnily enough I stumbled upon this message on stackoverflow.com which wrongly made me think my code should indeed be working too.
Thanks for your assistance,
Fred