AnsweredAssumed Answered

OpenGL Geometry shaders and different inputs/outputs

Question asked by cippyboy on Jan 2, 2014
Latest reply on Jan 3, 2014 by cippyboy

I'm running the latest AMD Driver for my HD 7850 and I'm seeing a weird behavior when drawing points that expand to triangles in the geometry shader. For some reason my specifications are not taken into acount :

 

layout(points) in;

layout(triangle_strip, max_vertices = 4) out;

 

With them on or commented, the output is exactly the same, instead of getting a small quad for each point, I get a bigger quad of points(as if the geometry part doesn't even execute)

 

As of note, the equivalent DX11 shaders work flawlessly.

 

Side issue : nothing I tried disables point antialiasing, they even get rendered at a size of 2x2 at a minimum, you can check the picture for proof.

Outcomes