Bug 39253

Summary: [bisected]oglc fbo(renderToRb.1FBOIterateIntFormatsDepth) fails
Product: Mesa Reporter: fangxun <xunx.fang>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: high CC: eric
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 42993    

Description fangxun 2011-07-15 04:24:16 UTC
System Environment:
--------------------------
Arch:        i386
Platform:    pineview
Libdrm:      (master)2.4.26-1-g8d055890d90c3d92647e3d8b98d32630ef87c2c8
Mesa:         (master)02c8ee202f5a159659a027deae4721ff05cd1530
Xserver:      (master)xorg-server-1.10.99.901-104-g01dbf2514aa0cc8c40a876a24e3cb0737c41da19
Xf86_video_intel: (master)2.15.0-203-g212fa9868767637e8f430485eeb522c99e63fd16
Kernel:  (drm-intel-next)99834ea446d5c0da3f6cfa355fe4670840d45f79


Bug detailed description:
-------------------------
This regression happens on pineview, ironlake and sandybridge. 
Bisect find commit 86e62b2357447b7c97f434 is the first bad commit.
commit 86e62b2357447b7c97f434be4834f4b50aa0764d
Author:     Eric Anholt <eric@anholt.net>
AuthorDate: Wed Jun 15 12:02:12 2011 -0700
Commit:     Eric Anholt <eric@anholt.net>
CommitDate: Thu Jul 7 14:05:20 2011 -0700

    intel: Mark MESA_FORMAT_X8_Z24 as always supported.

    This prevents developer surprise at seeing a GL_DEPTH_COMPONENT
    texture have stencil bits, and avoids the metaops path accidentally
    copying stencil bits around in glCopyTexImage(GL_DEPTH_COMPONENT) (and
    being broken because swrast's glReadPixels(GL_UNSIGNED_INT_24_8) is
    broken).


Reproduce steps:
----------------
1. xinit&
2. ./oglconform -z -s -suite all -v 2 -D 115 -test fbo renderToRb.1FBOIterateIntFormatsDepth
Comment 1 Eric Anholt 2011-07-19 09:13:33 UTC
(Note that while this is a P1 regression, it doesn't apply to the 7.11 release)
Comment 2 Eric Anholt 2011-08-16 10:46:22 UTC
We're punting on this until the RB mapping rework.
Comment 3 fangxun 2011-11-28 19:33:42 UTC
*** Bug 43183 has been marked as a duplicate of this bug. ***
Comment 4 fangxun 2011-11-28 19:37:21 UTC
It also fails on mesa 7.11 branch.
Comment 5 Ian Romanick 2012-02-01 13:32:03 UTC
This test pass with current 8.0 branch (7f5d3f7) on my SNB GT2 mobile (8086:0126 (rev 09)).  Please reopen with additional information if this is still reproducible on other platforms.
Comment 6 fangxun 2012-02-01 19:06:25 UTC
Verified with mesa 8.0 branch(442dc31fa71ec433b2c100ec983a6061e83f7dbd) and mesa master branch(7ef94c6a0b7d2f7a8c6d03b12262b0b9e57e414c).

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.