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   
   




------- Additional Comments From [EMAIL PROTECTED]  2004-06-20 16:58 -------
Created an attachment (id=391)
 --> (http://freedesktop.org/bugzilla/attachment.cgi?id=391&action=view)
Patch to fix glPolygonOffset on r128

In my test program, the glPolygonOffset call changes the Z values given to
r128_draw_triangle from about 0.9 to about 1.9.  Since Z values at this point
are supposed to be scaled to between 0 and 1, this explains why the polygons
disappear.

The problem seems to be that ctx->MRD, the minimum resolvable depth, is still
1.0.  Setting it to rmesa->depth_scale, which is 1/65536 when using a 16-bit
depth buffer, looks right to me and in fact fixes the problem.

Could this go into CVS please?
   
   
--    
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

Reply via email to