From: <bug...@an...> - 2006-08-07 00:59:03
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7790 Summary: Polygons incorrectly clipped by mach64 driver (ATI Rage Pro LT card) Product: DRI Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: dri...@li... ReportedBy: rc...@ma... Partially offscreen polygons are rendered incorrectly. Visible part of them is misplaced and texture coordinates are sometimes set to random values. Problem appears only when clipping to viewport, polygons that are fully located inside the viewport are rendered correctly. Here's what glxinfo says about renderer: OpenGL vendor string: Gareth Hughes, Leif Delgass, José Fonseca OpenGL renderer string: Mesa DRI Mach64 [Rage Pro] 20051019 AGP 2x OpenGL version string: 1.2 Mesa 6.4.2 I'm not the sole "victim", the same problem with Mach64 driver (on another card) is described by another user here (you can get some screenshots there): http://www.linuxquestions.org/questions/showthread.php?p=2368337 I'm attaching code that reproduces the problem with clipping. ---------------------8< cut here 8<---------------------------------- #include <GL/glut.h> void display(void) { glClearColor( 0.0, 0.0, 1.0, 0.0 ); glClear( GL_COLOR_BUFFER_BIT ); /* The white triangle is located inside the viewport and is rendered correctly */ glColor3f( 1.0f, 1.0f, 1.0f ); glBegin( GL_TRIANGLES ); glVertex2f( 0.25f, 0.25f ); glVertex2f( 0.75f, 0.25f ); glVertex2f( 0.5f, 0.85f ); glEnd(); /* The red triangle is partially offscreen and various clipping artefacts occur during render. When rendered correctly, the red triangle should look the same as white one, just translated to the left */ glColor3f( 1.0f, 0.0f, 0.0f ); glBegin( GL_TRIANGLES ); glVertex2f( -0.15f, 0.25f ); glVertex2f( 0.35f, 0.25f ); glVertex2f( 0.1f, 0.85f ); glEnd(); glutSwapBuffers(); }; int main(int argc, char **argv) { glutInit( &argc, argv ); glutInitDisplayMode( GLUT_DOUBLE | GLUT_RGBA ); glutInitWindowSize( 640, 480 ); glutCreateWindow( "ATI Mach64 driver bug?" ); gluOrtho2D( 0, 1, 0, 1 ); glutDisplayFunc( display ); glutMainLoop(); return 0; } -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@an...> - 2006-10-20 22:41:56
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7790 fuf...@ho... changed: What |Removed |Added ---------------------------------------------------------------------------- Component|General |Drivers/DRI/Mach64 Product|DRI |Mesa Version|unspecified |CVS -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@an...> - 2006-10-20 22:44:05
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7790 ------- Additional Comments From fuf...@ho... 2006-10-20 15:44 ------- Created an attachment (id=7478) --> (https://bugs.freedesktop.org/attachment.cgi?id=7478&action=view) un-break strict-aliasing rules Does this help? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@an...> - 2006-10-26 13:44:13
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7790 fuf...@ho... changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7478 is|0 |1 obsolete| | ------- Additional Comments From fuf...@ho... 2006-10-26 06:44 ------- Created an attachment (id=7530) --> (https://bugs.freedesktop.org/attachment.cgi?id=7530&action=view) use union's instead of memcpy's -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
From: <bug...@an...> - 2006-12-12 10:56:12
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=7790 fuf...@ho... changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From fuf...@ho... 2006-12-12 02:56 ------- commited (eed1a6de4b396ed6305cf34812a269c10c746d3c) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |