Bug 46666 - [PNV] webgl conformance case NPOT case fails with TEXTURE_MIN_FILTER set to LINEAR
[PNV] webgl conformance case NPOT case fails with TEXTURE_MIN_FILTER set to L...
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915
x86 (IA32) Linux (All)
: medium normal
Assigned To: Yuanhan Liu
Depends on:
  Show dependency treegraph
Reported: 2012-02-26 19:32 UTC by zhao jian
Modified: 2012-05-28 01:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
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>