[Bug 90839] [10.5.5/10.6 regression, bisected] PBO glDrawPixels no longer using blit fastpath
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 9 18:55:58 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90839
--- Comment #16 from Alexander Monakov <amonakov at gmail.com> ---
> > struct intel_renderbuffer *irb = intel_renderbuffer(rb);
> >
> > mesa_format src_format = _mesa_format_from_format_and_type(format, type);
> > + if (_mesa_format_is_mesa_array_format(src_format))
> > + src_format = _mesa_format_from_array_format(src_format);
>
> Assuming this fixes the problem, I'd rather see it as:
>
> const mesa_format src_format =
> _mesa_format_is_mesa_array_format(src_format)
^^^^^^^^^^
Huh? You can't define src_format based on some predicate computed from
yet-uninitialized src_format.
> ? _mesa_format_from_array_format(src_format)
> : _mesa_format_from_format_and_type(format, type);
--
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/20150610/87894e45/attachment.html>
More information about the intel-3d-bugs
mailing list