Bug 13801 - [i965 FBO GEM] render to Mipmap texture through FBO is not working
Summary: [i965 FBO GEM] render to Mipmap texture through FBO is not working
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
Depends on:
Blocks: 18841 intel-3d-release
  Show dependency treegraph
Reported: 2007-12-23 23:07 UTC by Shuang He
Modified: 2009-04-23 22:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

test case (6.32 KB, text/plain)
2007-12-23 23:11 UTC, Shuang He

Description Shuang He 2007-12-23 23:07:10 UTC
System Environment:
--Platform: FC6

Bug detailed description:
This issue doesn't happen on i915 platform

Reproduce steps:
start X
compile and run the attached test case

Current result:
nothing was rendered with non-zero level texture

Expected result:
render to Mipmap texture through FBO should work correctly
Comment 1 Shuang He 2007-12-23 23:11:22 UTC
Created attachment 13336 [details]
test case

this test case generate a mipmap texture through FBO, by assigning each level a different color, then apply the level 1 during rendering a rectangle.
The rectangle rendered should be in green. but it turns out nothing is rendered.
Comment 2 Shuang He 2008-07-28 18:49:27 UTC
This issue still exist with latest GEM
Comment 3 Shuang He 2009-03-22 20:29:17 UTC
this issue still exists with:
Kernel_version:         2.6.29-rc7
Libdrm:         (master)2e2e8575b1ed4703653a72ac2b60b75316c388d7
Mesa:            (mesa_7_4_branch)a8528a2e8653b5237c1d1d66fe98c6e031d007f9
Xserver:         (server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:      (2.7)238c2c40afd9f8b61479b8640d53f20d52fd7ddf
Kernel:       (for-airlied)dc529a4fe1ae4667c819437a94185e8581e1e680
Comment 4 Eric Anholt 2009-04-23 14:06:58 UTC
Since this works on master, commit c3e7fc394f9590ac35755e722995fd88bbfd11ce
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Apr 23 09:37:55 2009 -0700

    i965: Support drawing to FBO cube faces other than positive X.
    Also fixes drawing to 3D texture depth levels.
    (cherry picked from commit 8374379572d1c541a804990bc926108360f67c02)

Comment 5 Shuang He 2009-04-23 22:24:18 UTC
verified against:
Libdrm:         (master)412d370b9ae4b2882691863a1c5e13a507574e92
Mesa:           (mesa_7_4_branch)c3e7fc394f9590ac35755e722995fd88bbfd11ce
Xserver:        (server-1.6-branch)11db545a86c8933c638a0bc1fcd4f2c65279f617
Xf86_video_intel:               (2.7)296a986e5258e2fd13ec494071b7063bd639cd68
Kernel:         (qa-branch)ba1d2a9be507cda299c15740ff7e2bb3705a4792

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.