Summary: | [bisected pineview]oglc filtercubemin(basic.sizedRGBA) fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | fangxun <xunx.fang> |
Component: | Drivers/DRI/i915 | Assignee: | Ian Romanick <idr> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | brianp, stereotype441 |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 42993 |
Description
fangxun
2011-09-26 03:10:08 UTC
*** Bug 46196 has been marked as a duplicate of this bug. *** I've sent a patch to the Piglit mailing list which addresses the following failures: oglc filtercubemin(advanced.gl11.sized_alpha) oglc filtercubemin(advanced.gl11.sized_luminance_alpha) oglc filtercubemin(advanced.gl11.sized_intensity) oglc filtercubemin(advanced.compressed.s3tc) as well as the piglit test fbo/fbo-cubemap (bug 46196). I have not investigated the remaining failures. The patch is: Author: Paul Berry <stereotype441@gmail.com> Date: Thu Feb 16 16:00:45 2012 -0800 i915: Initialize swrast_texture_image structure fields. Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast) moved the initialization of the Width, Height, and DepthScale fields to _swrast_alloc_texture_image_buffer(). However, i915 doesn't call this function because it performs its own buffer allocation. As a result, the Width, Height, and DepthScale fields weren't getting initialized properly, and some operations requiring swrast would fail. This patch ensures that Width, Height, and DepthScale are properly initialized by separating the code that sets them into a new function, _swrast_init_texture_image(), which is called by intel_alloc_texture_image_buffer() as well as _swrast_alloc_texture_image_buffer(). It also moves the initialization of _IsPowerOfTwo into this function. It passes on pineview now. Verified with Mesa master commit 33202b4876a88b6f54ca7022eadd2875a2d3508a. |
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.