Jordan has completed the review of the SandyBridge Geometry Shader
implementation and I would like to push the series to Mesa, but we need
this patch in piglit too so that people running piglit tests on
SandyBridge do not run into the GPU hang.
If nobody has objections I'll push this patch later
Intel SandyBridge is not handling GL_TRIANGLE_STRIP_ADJACENCY with
repeating vertex indices correctly, so there is a GPU hang when
running:
bin/glsl-1.50-geometry-primitive-id-restart \
GL_TRIANGLE_STRIP_ADJACENCY ffs
This patch provides a workaround for this issue as it seems to be a HW
bug in