[Bug 77856] [BDW]Piglit spec_OpenGL_3.0_clearbuffer-mixed-format fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 7 23:55:55 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77856
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed by:
commit 9701c6984d8d6570d90a15f86872b16bdba117f2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri May 2 01:10:17 2014 -0700
meta: Only clear the requested color buffers.
This path is used to implement both glClear and glClearBuffer; the
latter is only supposed to clear particular buffers. Core Mesa provides
us that information in the buffers bitmask; we must only clear buffers
mentioned there.
To accomplish this, we save/restore the color draw buffers state, and
use glDrawBuffers to restrict drawing to the relevant buffers.
Fixes Piglit's spec/!OpenGL 3.0/clearbuffer-mixed-formats and
spec/ARB_framebuffer_object/fbo-drawbuffers-none glClearBuffer tests
for drivers using meta clears (such as Broadwell).
Cc: "10.2" <mesa-stable at lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77852
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77856
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
--
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/20140508/04573e99/attachment.html>
More information about the intel-3d-bugs
mailing list