Created attachment 31482 [details] program draws two triangles to form a square Disabling the drawing of polygon edges with glEdgeFlag(GL_FALSE) doesn't work correctly on the R600 driver. Attached a simple program that draws two triangles that form a square and disables the drawing of polygon edges where the two triangles touch. When run with the software renderer you just see a square as expected, but with the R600 driver you also see the line where the two triangles touch.
the software renderer doesn't seem to render the test properly for me, however, the patch I included on bug 25290 seems like it renders correctly.
The attached image is what I get with the software renderer, and I think is the correct way. With or without that patch I don't get the same image.
Created attachment 31642 [details] test program run with software renderer
I can confirm that glEdgeFlag is still broken with the R600 driver from Mesa 7.9 (packages from Xorg-edgers PPA). The STAR example from the "OpenGL SuperBible" book (chapter 3) is not rendered properly by the R600 driver (just like the sample program by Rafael Monica). Both the STAR example and Rafael' sample program are correctly rendered by Mesa software renderer.
Pity-reassigning to r600g. It might already work there, although I'm not sure of that.
This fails on current Mesa master on r600g. But it also fails with llvmpipe.
I didn't test with the softrender, but this bug is now fixed since: commit: 1337da51152db7fa1a71ac86b61b51a42d29d595 summary: r600g: implement edge flags author: Marek Olšák date: 2014-03-04 11:26:16 (GMT) r600g now render the square like your screenshot. Tested on AMD CYPRESS.
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.