Bug 46666

Summary: [PNV] webgl conformance case NPOT case fails with TEXTURE_MIN_FILTER set to LINEAR
Product: Mesa Reporter: zhao jian <jian.j.zhao>
Component: Drivers/DRI/i915Assignee: Yuanhan Liu <yuanhan.liu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description zhao jian 2012-02-26 19:32:34 UTC
System Environment:
--------------------------
Mesa:        (master)2a97a00e28db330b8061c73ea6f1a7b7ad9d245f

Bug detailed description:
-------------------------
When run webgl conformance case texture-npot.html, it fails on rendering NPOT cubemap when TEXTURE_MIN_FILTER set to LINEAR. This only fails on Pinetrail while passed on Ironlake, SandyBridge. 
	
Reproduce steps:
-------------------------
1. start X
2. run texture-npot.html in webgl conformance case
Comment 1 Yuanhan Liu 2012-03-18 19:18:02 UTC
Fixed by the following commit:

---
commit 40c995c1fd7865f1b25765aa783fdadbf948b3dd
Author: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Date:   Wed Feb 29 15:04:45 2012 +0800

    i915: fallback for NPOT cubemap texture
    
    Although some hardware support NPOT cubemap, but it seems we don't know
    the right layout for NPOT cubemap. Thus seems we need do fallback for
    other platforms as well.
    
    See comments inline the code for more detailed info.
    
    v2: give a more detailed info about why we need fallback for other
        platfroms as well.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46666
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>

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.