Bug 13543

Summary: Draw bitmap incorrect if DepthFunc is GL_LESS
Product: Mesa Reporter: WuNian <nian.wu>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: dri-devel, shuang.he
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description WuNian 2007-12-05 18:40:23 UTC
If specify DepthFunc as GL_LESS, then draw a bitmap, it will draw nothing.
Comment 1 WuNian 2007-12-05 18:42:38 UTC
Created attachment 12972 [details]
test case

With i915 driver, we got result:

draw pixel at (0, 0): 0.000000 0.000000 0.000000
draw pixel at (1, 0): 0.000000 0.000000 0.000000
draw pixel at (2, 0): 0.000000 0.000000 0.000000

It should be: (got with i965 driver)

draw pixel at (0, 0): 1.000000 0.000000 0.000000
draw pixel at (1, 0): 1.000000 0.000000 0.000000
draw pixel at (2, 0): 0.000000 0.000000 0.000000
Comment 2 haihao 2007-12-24 22:15:20 UTC
fixed in cf46aee14a9df86ce336823fd02da650e262f77e
Comment 3 haihao 2007-12-25 19:09:05 UTC
*** Bug 13649 has been marked as a duplicate of this bug. ***
Comment 4 Adam Jackson 2009-08-24 12:28:33 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.