Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter your comments there. http://freedesktop.org/bugzilla/show_bug.cgi?id=755 Summary: Polygons disappear when using glDepthFunc and glPolygonOffset Product: Mesa Version: unspecified Platform: PC URL: http://ozlabs.org/~paulus/glbug.c OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Drivers/DRI/r128 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED]
Running emilia pinball on a Rage 128, the floor and walls aren't drawn. I distilled down the GL calls that pinball does into the glbug.c test program at http://ozlabs.org/~paulus/glbug.c. If you run it with no arguments it should put up a window with a white background and one grey quad visible. If you run it with an argument (it doesn't matter what) it will do two additional GL calls: glEnable(GL_POLYGON_OFFSET_EXT); glPolygonOffset(1, 1); and on a Rage 128 the quad is no longer drawn, but with software rendering or on a radeon the quad is still visible. I have verified that the bug shows up on a PowerMac G4 cube running Linux with a Rage 128 PF, a PC with a Rage 128 Pro Ultra TR, and a titanium PowerBook G4 running Linux. There are two other GL calls in the test program that are also needed to show the bug: glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LESS); If I take those out the quad is rendered even if I do the glPolygonOffset call. -- Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel