| Summary: | i945 cubemap texture layout code is buggy | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Steinar H. Gunderson <sgunderson> |
| Component: | Drivers/DRI/i915 | Assignee: | Eric Anholt <eric> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
Patch that fixes the issue
Reference rendering of test case i945 rendering of test case before patch i945 rendering of test case after patch Test case source code |
||
|
Description
Steinar H. Gunderson
2009-05-11 14:40:34 UTC
Created attachment 25753 [details]
Reference rendering of test case
Created attachment 25754 [details]
i945 rendering of test case before patch
Created attachment 25755 [details]
i945 rendering of test case after patch
Created attachment 25756 [details]
Test case source code
This definitely fixes a couple of failures in the piglit cubemap test, but also changes a bunch of wrong results to other wrong results. I think it's going to need a little more looking into. Well, the(In reply to comment #5) > This definitely fixes a couple of failures in the piglit cubemap test, but also > changes a bunch of wrong results to other wrong results. I think it's going to > need a little more looking into. Well, I guess #21692 is a good candidate to fix first :-) Optionally, I guess someone with access to the docs should look into whether the alignment really is 8x8, or 4x4 as half the comment says. OK, pushed your fix, since everything in it looked correct. commit b197a8ade3e1e6c67743111f12f27e0a4a985cd9 Author: Steinar H. Gunderson <sgunderson@bigfoot.com> Date: Tue May 12 11:32:03 2009 -0700 i915: Fix 945 cube map layout for the small mipmaps along the bottom. Bug #21691. Note that the 2x2 handling still appears to be wrong -- when the base level is 2x2, there aren't the 2 4x4s at the start of the row, so the offset by 16 is wrong. |
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.