Bug 12570

Summary: [915 TTM] glean case depthStencil causes Assertion failure in DRI driver
Product: Mesa Reporter: Shuang He <shuang.he>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: eric
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 12855, 13091    
Bug Blocks:    
Attachments: test case

Description Shuang He 2007-09-25 23:21:20 UTC
System Environment:
--------------------------
latest Mesa, Drm, Xserver, Xf86_video_intel


Bug detailed description:
--------------------------
During running glean test case depthStencil, one assertion is failed:
i915_vtbl.c:427: i915_emit_state: Assertion `(state->Program[0] & 0x1ff) + 2 == state->ProgramSize' failed.

And the test case aborted.

Reproduce steps:
----------------
you can run it by:
glean -r resultdir -t depthStencil


Current result:
----------------
----------------------------------------------------------------------
Test the GL_EXT_packed_depth_stencil extension.

depthStencil:  PASS rgba8, db, win+pmap, id 35
        glReadPixels GL_DEPTH_STENCIL rate: 0.00 MBytes per second.
        glReadPixels GL_DEPTH/GLuint rate: 0.00 MBytes per second.
        glReadPixels GL_DEPTH/GLushort rate: 0.00 MBytes per second.
depthStencil:  PASS rgba8, win+pmap, id 36
        glReadPixels GL_DEPTH_STENCIL rate: 0.00 MBytes per second.
        glReadPixels GL_DEPTH/GLuint rate: 0.00 MBytes per second.
        glReadPixels GL_DEPTH/GLushort rate: 0.00 MBytes per second.
glean: i915_vtbl.c:427: i915_emit_state: Assertion `(state->Program[0] & 0x1ff) + 2 == state->ProgramSize' failed.
Aborted



Expected result:
----------------
this glean case should pass without any error
Comment 1 Shuang He 2007-09-27 00:00:17 UTC
seems i915-unification merge brings this issue in
we are using mesa commit(f388d62b39e9273dd8aac425da54015af91192d8)
Comment 2 Shuang He 2007-09-27 23:05:07 UTC
Created attachment 11795 [details]
test case

This issue can be reproduce by running this simple test case (it's actually for bug #12095)
Comment 3 Pi, Fengming 2007-11-30 01:05:04 UTC
Using the git code,this bug still exists.
Comment 4 haihao 2008-03-05 00:04:21 UTC

*** This bug has been marked as a duplicate of bug 13494 ***
Comment 5 Shuang He 2008-10-12 19:07:04 UTC
verified
Comment 6 Adam Jackson 2009-08-24 12:28:06 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.