Summary: | [i915 bisected] OGLC/texlod regressed | ||
---|---|---|---|
Product: | Mesa | Reporter: | Shuang He <shuang.he> |
Component: | Drivers/DRI/i915 | Assignee: | Eric Anholt <eric> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Shuang He
2009-11-01 17:17:53 UTC
This regression get fixed by following commit: commit b434a816d7a4b298e16a8b51b54e5a2d5ea28da8 Author: Eric Anholt <eric@anholt.net> Date: Tue Dec 29 15:55:34 2009 -0800 i915: Use _MaxLevel on principle in texture setup. It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it. verified on 945GM with: Libdrm: (master)c5c503b519777fb9ebbaa22681a1ed81717c1d71 Mesa: (master)1f9aa38f4e2be47229d92be2c1189c2b8d9c7133 Xserver: (master)13c8bd3fde3b0831921e59f84936022a16379d63 Xf86_video_intel: (master)091035146463bf1aa6674bff6947d04fc620c18f Kernel: (drm-intel-next)cf74ecbbff3e3b45bae61d28d2220f74d853e2f0 Sorry that I mis-check the texlod.c case, it still fails. lodbias.c is passed We've got open-source tests for texture LOD functionality that are passing, so I'm not too concerned about a failure in the closed testsuite. We would need to isolate a testcase for inclusion in piglit if we want this bug fixed. commit b80a728f8a86cbd1efce9611d822ab73b5baeab9 Author: Eric Anholt <eric@anholt.net> Date: Fri Jun 4 13:27:05 2010 -0700 i915: Clamp minimum lod to maximum texture level too. Otherwise, we'd run into minlod > maxlod, and the sampler would give us the undefined we asked for. Bug #24846. Fixes OGLC texlod.c. verified on Pineview with: Libdrm: (master)2.4.20-19-g73a42a645201a85ce2fe4fc77754df67e5097fc9 Mesa: (master)mesa_7_6_1_rc1-8652-g42ebe3dfd9b0803913e0d932909ca5872d937c20 Xserver: (master)xorg-server-1.8.0-332-g6b4af3b7925978cd79f717761f1b6f33bd8dfbaf Xf86_video_intel: (master)2.11.0-151-g6db1e5231b7a0e79611f771d4efea686f7849e04 Kernel: (for-linus)e3a815fcd38043b8f1bb526123d8ab6ae01deb77 |
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.