Bug 79729

Summary: [i965] glClear on a multisample texture doesn't work
Product: Mesa Reporter: Neil Roberts <nroberts>
Component: Drivers/DRI/i965Assignee: Neil Roberts <nroberts>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: idr
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Attachments: Piglit test that demonstrates the problem

Description Neil Roberts 2014-06-06 16:51:35 UTC
Calling glClear on a framebuffer bound to a multisample texture doesn't seem to do anything. I think this has something to do with the fast clear implementation because if the clear is scissored or the color is changed to something that doesn't have 0.0 or 1.0 in the components then the fast color is disabled and it works.
Comment 1 Neil Roberts 2014-06-06 16:53:48 UTC
Created attachment 100522 [details] [review]
Piglit test that demonstrates the problem
Comment 2 Neil Roberts 2014-06-09 16:48:59 UTC
I've posted a patch for this on the mailing list:

Comment 3 Neil Roberts 2014-06-12 10:56:07 UTC
I've pushed the commit so I guess this bug is fixed now.


I've posted the Piglit test to the mailing list as well.


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.