Bug 12786

Summary: apply 3D texture after 2D texture works incorrectly on 915 platform
Product: Mesa Reporter: Shuang He <shuang.he>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mesa-dev
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description Shuang He 2007-10-12 00:48:40 UTC
System Environment:
--------------------------
--Platform: FC6
--Xf86_video_intel:56ae767180da4a8bd4b7a4c35b92e019ab67d753
--Mesa:03ff9c96bf73b53c6c95f2db0aa79cfb1ff9eb3b
--DRM:f0fd53f86b30e230f3f34b49b54392d20f053a89
--Kernel:2.6.22

Bug detailed description:
--------------------------
create a 2D texture with border, and apply it to a QUARDS
clean color buffer
then create a 3D texture, with border color set to green, and apply it to a new QUARDS. since the GL_TEXTURE_WRAP_S is set to GL_CLAMP_TO_EDGE, the left/right edge should not use the color of border
But it turns out, the QUARDS is drawn as a triangle, which is wrong.


Reproduce steps:
----------------
start X
compile and run attached test case


Current result:
----------------
a triangle is drawn

Expected result:
----------------
QUARDS is drawn correctly
and the left/right edge should not use the color of border
Comment 1 Shuang He 2007-10-12 00:50:41 UTC
Created attachment 12002 [details]
test case
Comment 2 haihao 2008-01-04 01:08:02 UTC
fixed in mesa (e7044d552c6d16389447880b8744a51de1cf0199)
Comment 3 Shuang He 2008-01-07 17:56:06 UTC
verified
Thanks
Comment 4 Adam Jackson 2009-08-24 12:28:10 UTC
Mass version move, cvs -> git

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.