Bug 45873 - [bisected]oglc mustpass(basic.proxyTexture) regressed
Summary: [bisected]oglc mustpass(basic.proxyTexture) regressed
Status: CLOSED DUPLICATE of bug 45757
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 42993
  Show dependency treegraph
 
Reported: 2012-02-10 01:46 UTC by fangxun
Modified: 2012-10-26 08:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description fangxun 2012-02-10 01:46:15 UTC
System Environment:
--------------------------
Arch:           x86_64
Platform:       surgabay
Libdrm:         (master)2.4.31-1-g2cfac57d364d0166ed9472b086c16aea376f495a
Mesa:           (8.0)e86d90eb208292916c8a04c5d75499492003dd16
Xserver:      (server-1.11-branch)xorg-server-1.11.3
Xf86_video_intel:  (master)2.17.0-644-g4d8369f8e60fd4f5a0ef49f3e9866ea5ecb21927
Kernel:         (drm-intel-fixes) 617cf884810b44384fe8e9431e9babeb80a2ff37


Bug detailed description:
------------------------- 
It fails at mesa master and mesa 8.0 branch on pineview, Ironlake and Sandybridge. 
Bisect shows b38640082cdf0d271c7d3da83d45dfa5f3a7b8d3 is the first bad commit.
commit b38640082cdf0d271c7d3da83d45dfa5f3a7b8d3
Author:     Anuj Phogat <anuj.phogat@gmail.com>
AuthorDate: Wed Jan 25 19:05:45 2012 -0800
Commit:     Ian Romanick <ian.d.romanick@intel.com>
CommitDate: Thu Feb 2 11:21:20 2012 -0700

    mesa: fix maximum allowed proxy texture size condition

    width, height parameter in glTexImage2D() includes: texture image
    width + 2 * border (if any). So when doing the texture size check
    in _mesa_test_proxy_teximage() width and height should not exceed
    maximum supported size for target texture type.
    i.e. 1 << (ctx->Const.MaxTextureLevels - 1)

    Texture border is anyway stripped out before it is given to intel
    or gallium drivers.

    This patch fixes Intel oglconform test case: max_values
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970

    Note: This is a candidate for mesa 8.0 branch.


Reproduce steps:
----------------
1. start X
2. ./oglconform -z -s -suite all -v 2 -test mustpass basic.proxyTexture
Comment 1 Anuj Phogat 2012-02-10 06:39:05 UTC

*** This bug has been marked as a duplicate of bug 45757 ***


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.