http://bugs.freedesktop.org/show_bug.cgi?id=15194


haihao <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




--- Comment #6 from haihao <[EMAIL PROTECTED]>  2008-04-10 20:13:13 PST ---
(In reply to comment #5)
> Still has one edge is incorrect, Reopen this bug.
> 
> with 965 and 915 driver, the output is:
> [EMAIL PROTECTED] mycase]# ./fpmisc_15194 
> get depth values: 0.000000 0.045777 0.045777 0.045777
> 
> [EMAIL PROTECTED] mycase]# ./fpmisc_15194 
> get depth values: 0.000000 0.000358 0.000358 0.000358
> 
> With soft rendering, the output is:
> [EMAIL PROTECTED] mycase]# $SW ./fpmisc_15194
> get depth values: 0.045777 0.045777 0.045777 0.045777
> 
This is a new problem. In fact, if draw a polygon without depth offset, and set
the depth value to 0.5, you  will also get 0.00, 0.5, 0.5, 0.5.  

It seems there is one pixel bias.   glReadPixels(24, 50, 1, 1,
GL_DEPTH_COMPONENT, GL_FLOAT, &buf[0]) can get the depth values. 

Please open a new bug to track this new issue and I close this bug.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to