Summary: | [bisected SNB] Oglc float-texture(mipmap.automatic) fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | fangxun <xunx.fang> |
Component: | Mesa core | Assignee: | Ian Romanick <idr> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | chadversary, eric |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 42993 |
Description
fangxun
2011-11-29 01:34:13 UTC
I reproduced the failure on my machine and got a little bit more information. The failing test generates textures with various texture types and internal formats, with the texture parameter GL_GENERATE_MIPMAP_SGIS enabled. This should cause a mipmap to be automatically generated. It then checks that all mipmap levels have been generated correctly by using the texture for drawing. The segfault only happens when testing GL_TEXTURE_3D with one of the following internal formats: GL_LUMINANCE_ALPHA16F_ARB GL_R16F GL_INTENSITY16F_ARB GL_RG16F GL_LUMINANCE16F_ARB GL_ALPHA16F_ARB Note: this is the same list as for bug 43325, but with the addition of GL_ALPHA16F_ARB. I checked whether Brian Paul's "renderbuffer-cleanups-v2" branch fixes any of these failures. It doesn't. As with bug 43325, I'm not familiar enough with the Mesa mipmap code to fix this bug. In the long run I would like to make a Piglit test that reproduces it, but that will take some time since at the moment all of our existing mipmap tests are 2D-only. So I'm going to work on some other bugs first. Patch sent to the mesa-dev list. http://lists.freedesktop.org/archives/mesa-dev/2012-February/018566.html Fixed on the 8.0 branch by: commit 4635e26db23dae60b7586995eb3cf27cb9841443 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Wed Feb 1 14:19:35 2012 -0700 mesa: Fix copy-and-paste bug in do_row_3D Several of the half-float cases used 4 as the texel size when it should have been some smaller value. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43324 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43325 (cherry picked from commit 5c341b7df3c1058d586629394e53e9e26ae2cc01) It still fails on mesa master and 8.0 branch. This bug has always had the same root cause as bug #43325, so I am closing this as a duplicate. *** This bug has been marked as a duplicate of bug 43325 *** |
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.