Bug 12095

Summary: Depth Test didn't work for glRasterPos3f() and glDrawPixels()
Product: Mesa Reporter: Shuang He <shuang.he>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: dri-devel
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description Shuang He 2007-08-22 02:22:10 UTC
on GM965(64bit), G945(64bit), 915GV(64bit)
for 64-bit, depth test didn't work, when use glRasterPos3f() to specify where to draw.
depth test work well in non-dri mode.
Comment 1 Shuang He 2007-08-22 02:23:40 UTC
Created attachment 11205 [details]
test case
Comment 2 haihao 2007-09-27 01:08:24 UTC
fixed in commit 6254be9b7144821e044d3fbade514fa0358db693
Comment 3 Shuang He 2007-09-27 19:55:47 UTC
this fix works for 965GM
but I try to run this test case on 945G(installed with a 64bit OS), we will get following error:
depthwrite: i915_vtbl.c:427: i915_emit_state: Assertion `(state->Program[0] & 0x1ff) + 2 == state->ProgramSize' failed.
Aborted
Comment 4 Shuang He 2007-09-27 22:50:14 UTC
verified for both 32bit and  64bit
Comment 5 Shuang He 2007-09-27 22:51:31 UTC
the comment #3 is actually another bug (bug #12570)
https://bugs.freedesktop.org/show_bug.cgi?id=12570
Comment 6 Adam Jackson 2009-08-24 12:27:51 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.