Summary: | [bisected] oglc mustpass(basic.proxyTexture) regressed | ||
---|---|---|---|
Product: | Mesa | Reporter: | fangxun <xunx.fang> |
Component: | Drivers/DRI/i915 | Assignee: | Anuj Phogat <anuj.phogat> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | anuj.phogat |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 42993 | ||
Attachments: |
patch for bug 45727
patch for bug 45757 |
Description
fangxun
2012-02-07 22:36:38 UTC
This is fixed by following commit: commit ea228d97f811092b9ffcb90565184a7a8f089477 Author: Anuj Phogat <anuj.phogat@gmail.com> Date: Wed Jan 25 19:05:45 2012 -0800 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 + 2 * border. i.e. 1 << (ctx->Const.MaxTextureLevels - 1) + 2 * border Texture border is anyway stripped out before it is given to intel or gallium drivers. This patch fixes Intel oglconform test case: max_values negative.textureSize.textureCube Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970 Note: This is a candidate for mesa 8.0 branch. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> Created attachment 56836 [details] [review] patch for bug 45727 Created attachment 56865 [details] [review] patch for bug 45757 *** Bug 45873 has been marked as a duplicate of this bug. *** Verified with mesa master branch(4042702591) and mesa 8.0 branch( 65526d54aa2). |
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.