Bug 49779

Summary: Extra line segments in GL_LINE_LOOP
Product: Mesa Reporter: Homer Hsing <dongsheng.xing>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: low    
Version: git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: code for reproducing the bug
wrong.png
correct.png

Description Homer Hsing 2012-05-11 00:33:00 UTC
Created attachment 61421 [details]
code for reproducing the bug

Description:
If we draw a GL_LINE_LOOP, we will see an extra line on it. See attached "wrong.png".

System environment:
Ubuntu 12.04 64-bit
newest MESA code from git

How to reproduce:
compile attached "bug.cpp"
g++ bug.cpp -lglut -lGL

What should be the correct output:
See attached "correct.png"
Comment 1 Homer Hsing 2012-05-11 00:34:21 UTC
Created attachment 61422 [details]
wrong.png
Comment 2 Homer Hsing 2012-05-11 00:35:13 UTC
Created attachment 61423 [details]
correct.png
Comment 3 Charlie 2013-01-05 13:41:00 UTC
I can confirm the same issue with llvmpipe 9.0.1 on Windows 7 / 64. Although it only flickers from time to time, either in the circle's color, or in black.
Comment 4 Eric Anholt 2013-02-06 22:21:14 UTC
WIP piglit test at anongit://people.freedesktop.org/~anholt/piglit lineloop-many that doesn't reproduce the problem

There are pretty obvious bugs to be had in the vbo module with many verts of lineloops overflowing internal buffers using Begin/End.  Of course, nobody should be using Begin/End today.
Comment 5 Brian Paul 2015-10-17 16:14:09 UTC
Same as bug 81174.

*** This bug has been marked as a duplicate of bug 81174 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.