Bug 12421

Summary: Cube texture map draw some pixels incorrectly in DRI mode
Product: Mesa Reporter: Shuang He <shuang.he>
Component: Drivers/DRI/i965Assignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: dri-devel
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description Shuang He 2007-09-13 21:56:12 UTC
this issue doesn't happen in no-DRI mode

generate different colors for each texel
draw a rectangle with cube texture map
some of the pixels will not have the expected color
Comment 1 Shuang He 2007-09-13 21:59:42 UTC
Created attachment 11563 [details]
test case
Comment 2 haihao 2007-09-23 23:15:11 UTC
I didn't see any difference between DRI and no-DRI mode, they all got the following  
result:
read out pixels:
(48, 49) = [0.000000, 0.000000, 0.250980]
(49, 49) = [0.000000, 0.000000, 0.250980]
(50, 49) = [0.000000, 0.000000, 0.250980]
(51, 49) = [0.000000, 0.000000, 0.250980]
(48, 50) = [0.000000, 0.000000, 0.501961]
(49, 50) = [0.000000, 0.000000, 0.501961]
(50, 50) = [0.000000, 0.000000, 0.501961]
(51, 50) = [0.000000, 0.000000, 0.501961]
(48, 51) = [0.000000, 0.000000, 0.749020]
(49, 51) = [0.000000, 0.000000, 0.749020]
(50, 51) = [0.000000, 0.000000, 0.749020]
(51, 51) = [0.000000, 0.000000, 0.749020]
Comment 3 haihao 2007-09-26 01:33:29 UTC
(In reply to comment #2)
> I didn't see any difference between DRI and no-DRI mode, they all got the
> following  
> result:
Sorry, I make a mistake. You are right.
Comment 4 haihao 2007-09-26 01:36:19 UTC
fixed in commit 175db68db59c6b917306adff98442d590df9af06
Comment 5 Shuang He 2007-09-26 02:14:38 UTC
it's ok now, thanks Haihao
verified on both 32bit and 64bit
Comment 6 Adam Jackson 2009-08-24 12:28:03 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.