[Bug 76832] [i965] piglit fbo-drawbuffers-none glClearBuffer fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 15 23:57:37 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76832
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed in master by:
commit a5957f7bc5e3618243f03cf9459394f9a83e5971
Author: Iago Toral Quiroga <itoral at igalia.com>
Date: Mon Mar 31 14:17:08 2014 +0200
i965: glClearBuffer() should only clear a single buffer.
glClearBuffer() is currently clearing all active draw color buffers (all
buffers that have not been set to GL_NONE when calling glDrawBuffers)
instead
of only clearing the one it receives as parameter. Altough brw_clear()
receives a bit mask indicating the color buffers that should be cleared,
this mask is ignored when calling brw_blorp_clear_color().
This was breaking the 'fbo-drawbuffers-none glClearBuffer' piglit test.
The patch provides the bit mask to brw_blorp_clear_color() so it can limit
clearing to the color buffers present in the mask.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76832
Reviewed-by: Eric Anholt <eric at anholt.net>
Thanks, Iago!
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140416/23f6a2f0/attachment.html>
More information about the intel-3d-bugs
mailing list