From: <bug...@fr...> - 2008-04-11 03:13:18
|
http://bugs.freedesktop.org/show_bug.cgi?id=15194 haihao <hai...@in...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #6 from haihao <hai...@in...> 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: > [root@x-g965 mycase]# ./fpmisc_15194 > get depth values: 0.000000 0.045777 0.045777 0.045777 > > [root@x-945gm mycase]# ./fpmisc_15194 > get depth values: 0.000000 0.000358 0.000358 0.000358 > > With soft rendering, the output is: > [root@x-945gm 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. |