cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

fred_em
Journeyman III

Geometry shader has no effect with GL_POINTS

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

 

0 Likes
6 Replies
pboudier
Staff

do you call LinkProgram after you have changed the primitive output type ?

regards,

Pierre B.

0 Likes

Yes I do.

 

0 Likes

can you test a simple test to devrel@amd.com ? you can put my name in CC.

thanks,

Pierre B.

0 Likes

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.

 

 

0 Likes

we are unable to reproduce a failure rendering with points through GS. please contact devrel with a way to reproduce the issue.

Pierre B.

0 Likes

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

 

0 Likes