Bug 14617

Summary: Not draw texture in some situtation
Product: Mesa Reporter: WuNian <nian.wu>
Component: Drivers/DRI/i965Assignee: haihao <haihao.xiang>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: dri-devel
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 14654    
Bug Blocks:    
Attachments: test case
fixed test case
test case

Description WuNian 2008-02-21 23:43:56 UTC
Created attachment 14498 [details]
test case

Attached test case draws a quad at first, then enable texture and redraw the quad, but it does not draw the texture.
Comment 1 Brian Paul 2008-02-22 08:17:14 UTC
Created attachment 14504 [details]
fixed test case

The test program is in error.

The texture min/mag filters aren't set (the draw_first() function is never called).

Fixed program is attached.
Comment 2 WuNian 2008-02-24 18:46:37 UTC
>The texture min/mag filters aren't set (the draw_first() function is never
>called).

Thanks for your fix.
For the draw_first() function, it is not useful. I forgot removing it.
Comment 3 WuNian 2008-02-28 21:01:48 UTC
Comment on attachment 14498 [details]
test case

need to call first_draw() in test case, and the case has error(comment #1)
Comment 4 WuNian 2008-02-28 21:03:13 UTC
Created attachment 14682 [details]
test case

The case calls first_draw(), otherwise it can not reproduce this bug.
Comment 5 haihao 2008-03-04 17:54:41 UTC
14617 and 14656 are the same issue: render with a texture, then map/unmap the teximage, then render again. 
but 14617 is hard to reproduce.

*** This bug has been marked as a duplicate of bug 14656 ***
Comment 6 WuNian 2008-03-06 17:17:27 UTC
verified.
Comment 7 Adam Jackson 2009-08-24 12:29:28 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.