http://bugs.freedesktop.org/show_bug.cgi?id=16697
Summary: depth texture implement incorrect if texture border is
applied
Product: Mesa
Version: CVS
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i915
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=17658)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17658)
test case
when use depth texture and DEPTH_TEXTURE_MODE is GL_ALPHA, if texture border
color is used, then the destination depth alpha component is incorrect.
In specification of ARB_depth_texture, it is saied that:
Texture borders are supported. The texture border value used for
depth textures is the first component of TEXTURE_BORDER_COLOR.
and
„If the texture contains depth components,
the R component of the TEXTURE_BORDER_COLOR vector is
interpreted as the depth component value."
But i915/i965 driver use the A component of the TEXTURE_BORDER_COLOR vector
when DEPTH_TEXTURE_MODE is GL_ALPHA.
The bug also exists with mesa_7_0_branch.
--
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.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel