Bug 23658

Summary: _mesa_meta_clear() breaks glxgears until resized
Product: Mesa Reporter: Alex Deucher <alexdeucher>
Component: Drivers/DRI/R100Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: first guess patch/fix

Description Alex Deucher 2009-09-02 14:45:03 UTC
On r600 _mesa_meta_clear causes the glxgears to only show the old backbuffer until the window is resized.  meta_clear_tris worked.

commit 18916986b4a7155e3cba2efb5dfd79dc561cfa41
Comment 1 Alex Deucher 2009-09-02 14:57:00 UTC
MrCooper suggested that the new meta clear code avoid redundant viewport calls which may be the cause of the problem.
Comment 2 Brian Paul 2009-09-02 15:10:42 UTC
Created attachment 29125 [details] [review]
first guess patch/fix

Does this patch help?
Comment 3 Alex Deucher 2009-09-02 15:28:35 UTC
No.  Same behavior as before.
Comment 4 Brian Paul 2009-09-02 15:49:09 UTC
Could you do a little debugging and check that the vertex positions in _mesa_meta_clear() are correct?
Comment 5 Alex Deucher 2009-09-03 15:06:20 UTC
fixed in 6a97cca0817b743e0633ff76630a5bef24469d1b.

The render buffer target state wasn't set up in some cases so it never got emitted.

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.