Summary: | main/image.c:1659: _mesa_convert_colors: Assertion `dstType == 0x1403' failed. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | idr, xunx.fang |
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
don't use _mesa_format_to_type_and_comps() to choose color type
determine best span color type at buffer mapping time assertion error on Haiku |
Description
Vinson Lee
2012-02-02 23:32:53 UTC
*** Bug 45577 has been marked as a duplicate of this bug. *** Created attachment 56575 [details] [review] don't use _mesa_format_to_type_and_comps() to choose color type Can you give this patch a try? (In reply to comment #2) > Created attachment 56575 [details] [review] [review] > don't use _mesa_format_to_type_and_comps() to choose color type > > Can you give this patch a try? I haven't tried it, but that patch looks completely reasonable. We'll also need this fix on the 8.0 branch. (In reply to comment #2) > Created attachment 56575 [details] [review] [review] > don't use _mesa_format_to_type_and_comps() to choose color type > > Can you give this patch a try? Tested patch 56575. fbo-mipmap-copypix passes on swrast. Tested-by: Vinson Lee <vlee@freedesktop.org> Created attachment 56685 [details] [review] determine best span color type at buffer mapping time This version of the patch is more efficient. Instead of calling the format query functions per-span, just do it per renderbuffer mapping. *** Bug 45818 has been marked as a duplicate of this bug. *** Created attachment 56902 [details]
assertion error on Haiku
Same assertion seen on Haiku while writing new swrast driver.
Fixed w/ commit bd1ae51b13535bc4438c663ffe91ded49db4890a |
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.